diff --git a/src/CppParser/Bindings/CLI/AST.cpp b/src/CppParser/Bindings/CLI/AST.cpp index bd4a013e..57d6037c 100644 --- a/src/CppParser/Bindings/CLI/AST.cpp +++ b/src/CppParser/Bindings/CLI/AST.cpp @@ -9,7 +9,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST::NativeLibrary* native) +CppSharp::Parser::AST::NativeLibrary::NativeLibrary(struct ::CppSharp::CppParser::AST::NativeLibrary* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -17,10 +17,10 @@ CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST:: CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::AST::NativeLibrary::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::NativeLibrary((struct ::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer()); } -CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance) +CppSharp::Parser::AST::NativeLibrary::NativeLibrary(struct ::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -28,7 +28,7 @@ CppSharp::Parser::AST::NativeLibrary::NativeLibrary(::CppSharp::CppParser::AST:: CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::AST::NativeLibrary::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::NativeLibrary((struct ::CppSharp::CppParser::AST::NativeLibrary*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::NativeLibrary::~NativeLibrary() @@ -39,45 +39,45 @@ CppSharp::Parser::AST::NativeLibrary::~NativeLibrary() CppSharp::Parser::AST::NativeLibrary::NativeLibrary() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::NativeLibrary(); + NativePtr = new struct ::CppSharp::CppParser::AST::NativeLibrary(); } -System::String^ CppSharp::Parser::AST::NativeLibrary::GetSymbols(unsigned int i) +::System::String^ CppSharp::Parser::AST::NativeLibrary::GetSymbols(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbols(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbols(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::AST::NativeLibrary::AddSymbols(System::String^ s) +void CppSharp::Parser::AST::NativeLibrary::AddSymbols(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addSymbols(__arg0); + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addSymbols(__arg0); } void CppSharp::Parser::AST::NativeLibrary::ClearSymbols() { - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearSymbols(); + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearSymbols(); } -System::String^ CppSharp::Parser::AST::NativeLibrary::GetDependencies(unsigned int i) +::System::String^ CppSharp::Parser::AST::NativeLibrary::GetDependencies(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependencies(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependencies(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::AST::NativeLibrary::AddDependencies(System::String^ s) +void CppSharp::Parser::AST::NativeLibrary::AddDependencies(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addDependencies(__arg0); + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->addDependencies(__arg0); } void CppSharp::Parser::AST::NativeLibrary::ClearDependencies() { - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearDependencies(); + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->clearDependencies(); } CppSharp::Parser::AST::NativeLibrary::NativeLibrary(CppSharp::Parser::AST::NativeLibrary^ _0) @@ -85,44 +85,45 @@ CppSharp::Parser::AST::NativeLibrary::NativeLibrary(CppSharp::Parser::AST::Nativ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::NativeLibrary*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::NativeLibrary(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::NativeLibrary*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::NativeLibrary(__arg0); } -System::IntPtr CppSharp::Parser::AST::NativeLibrary::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::NativeLibrary::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::NativeLibrary::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::NativeLibrary::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::NativeLibrary*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::NativeLibrary*)object.ToPointer(); } -System::String^ CppSharp::Parser::AST::NativeLibrary::FileName::get() +::System::String^ CppSharp::Parser::AST::NativeLibrary::FileName::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->fileName); + return clix::marshalString(NativePtr->fileName); } -void CppSharp::Parser::AST::NativeLibrary::FileName::set(System::String^ value) +void CppSharp::Parser::AST::NativeLibrary::FileName::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->fileName = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->fileName = clix::marshalString(value); } CppSharp::Parser::AST::ArchType CppSharp::Parser::AST::NativeLibrary::ArchType::get() { - return (CppSharp::Parser::AST::ArchType)((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->archType; + return (CppSharp::Parser::AST::ArchType)NativePtr->archType; } void CppSharp::Parser::AST::NativeLibrary::ArchType::set(CppSharp::Parser::AST::ArchType value) { - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->archType = (::CppSharp::CppParser::AST::ArchType)value; + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->archType = (enum ::CppSharp::CppParser::AST::ArchType)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::NativeLibrary::Symbols::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::AST::NativeLibrary::Symbols::get() { - auto _tmp__Symbols = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Symbols) + auto _tmp__Symbols = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Symbols; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Symbols->Add(_marshalElement); @@ -130,21 +131,22 @@ System::Collections::Generic::List^ CppSharp::Parser::AST::Nati return _tmp__Symbols; } -void CppSharp::Parser::AST::NativeLibrary::Symbols::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::NativeLibrary::Symbols::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Symbols = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Symbols = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::NativeLibrary::Dependencies::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::AST::NativeLibrary::Dependencies::get() { - auto _tmp__Dependencies = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Dependencies) + auto _tmp__Dependencies = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Dependencies; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Dependencies->Add(_marshalElement); @@ -152,30 +154,30 @@ System::Collections::Generic::List^ CppSharp::Parser::AST::Nati return _tmp__Dependencies; } -void CppSharp::Parser::AST::NativeLibrary::Dependencies::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::NativeLibrary::Dependencies::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Dependencies = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->Dependencies = _tmpvalue; } unsigned int CppSharp::Parser::AST::NativeLibrary::SymbolsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbolsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getSymbolsCount(); return __ret; } unsigned int CppSharp::Parser::AST::NativeLibrary::DependenciesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependenciesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::NativeLibrary*)NativePtr)->getDependenciesCount(); return __ret; } -CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* native) +CppSharp::Parser::AST::Comment::Comment(struct ::CppSharp::CppParser::AST::Comment* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -183,10 +185,10 @@ CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* nat CppSharp::Parser::AST::Comment^ CppSharp::Parser::AST::Comment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Comment((struct ::CppSharp::CppParser::AST::Comment*) native.ToPointer()); } -CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance) +CppSharp::Parser::AST::Comment::Comment(struct ::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -194,7 +196,7 @@ CppSharp::Parser::AST::Comment::Comment(::CppSharp::CppParser::AST::Comment* nat CppSharp::Parser::AST::Comment^ CppSharp::Parser::AST::Comment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Comment((struct ::CppSharp::CppParser::AST::Comment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Comment::~Comment() @@ -205,8 +207,8 @@ CppSharp::Parser::AST::Comment::~Comment() CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::CommentKind kind) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::Comment(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::Comment(__arg0); } CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::Comment^ _0) @@ -214,56 +216,56 @@ CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::Comment^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Comment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Comment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Comment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Comment(__arg0); } CppSharp::Parser::AST::Comment::operator CppSharp::Parser::AST::Comment^(CppSharp::Parser::AST::CommentKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)kind; auto __ret = (::CppSharp::CppParser::AST::Comment) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Comment(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Comment(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Comment((struct ::CppSharp::CppParser::AST::Comment*)____ret, true); } -System::IntPtr CppSharp::Parser::AST::Comment::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::Comment::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::Comment::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::Comment::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::Comment*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::Comment*)object.ToPointer(); } CppSharp::Parser::AST::CommentKind CppSharp::Parser::AST::Comment::Kind::get() { - return (CppSharp::Parser::AST::CommentKind)((::CppSharp::CppParser::AST::Comment*)NativePtr)->kind; + return (CppSharp::Parser::AST::CommentKind)NativePtr->kind; } void CppSharp::Parser::AST::Comment::Kind::set(CppSharp::Parser::AST::CommentKind value) { - ((::CppSharp::CppParser::AST::Comment*)NativePtr)->kind = (::CppSharp::CppParser::AST::CommentKind)value; + ((struct ::CppSharp::CppParser::AST::Comment*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::CommentKind)value; } -CppSharp::Parser::AST::BlockContentComment::BlockContentComment(::CppSharp::CppParser::AST::BlockContentComment* native) +CppSharp::Parser::AST::BlockContentComment::BlockContentComment(struct ::CppSharp::CppParser::AST::BlockContentComment* native) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native) { } CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::BlockContentComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BlockContentComment((struct ::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer()); } -CppSharp::Parser::AST::BlockContentComment::BlockContentComment(::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::BlockContentComment::BlockContentComment(struct ::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance) { } CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::BlockContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BlockContentComment((struct ::CppSharp::CppParser::AST::BlockContentComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BlockContentComment::~BlockContentComment() @@ -274,15 +276,15 @@ CppSharp::Parser::AST::BlockContentComment::BlockContentComment() : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::BlockContentComment(); } CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser::AST::CommentKind Kind) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; - NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockContentComment(__arg0); } CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser::AST::BlockContentComment^ _0) @@ -291,36 +293,36 @@ CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BlockContentComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BlockContentComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BlockContentComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockContentComment(__arg0); } CppSharp::Parser::AST::BlockContentComment::operator CppSharp::Parser::AST::BlockContentComment^(CppSharp::Parser::AST::CommentKind Kind) { - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; auto __ret = (::CppSharp::CppParser::AST::BlockContentComment) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::BlockContentComment(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::BlockContentComment(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((struct ::CppSharp::CppParser::AST::BlockContentComment*)____ret, true); } -CppSharp::Parser::AST::FullComment::FullComment(::CppSharp::CppParser::AST::FullComment* native) +CppSharp::Parser::AST::FullComment::FullComment(struct ::CppSharp::CppParser::AST::FullComment* native) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native) { } CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::FullComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FullComment((struct ::CppSharp::CppParser::AST::FullComment*) native.ToPointer()); } -CppSharp::Parser::AST::FullComment::FullComment(::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::FullComment::FullComment(struct ::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance) { } CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::FullComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FullComment((struct ::CppSharp::CppParser::AST::FullComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FullComment::~FullComment() @@ -329,7 +331,7 @@ CppSharp::Parser::AST::FullComment::~FullComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::FullComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::FullComment*) __nativePtr; } } @@ -337,27 +339,27 @@ CppSharp::Parser::AST::FullComment::FullComment() : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FullComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::FullComment(); } CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::FullComment::GetBlocks(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocks(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocks(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((struct ::CppSharp::CppParser::AST::BlockContentComment*)__ret); } void CppSharp::Parser::AST::FullComment::AddBlocks(CppSharp::Parser::AST::BlockContentComment^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::BlockContentComment*)s->NativePtr; - ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->addBlocks(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::BlockContentComment*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->addBlocks(__arg0); } void CppSharp::Parser::AST::FullComment::ClearBlocks() { - ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->clearBlocks(); + ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->clearBlocks(); } CppSharp::Parser::AST::FullComment::FullComment(CppSharp::Parser::AST::FullComment^ _0) @@ -366,56 +368,57 @@ CppSharp::Parser::AST::FullComment::FullComment(CppSharp::Parser::AST::FullComme __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FullComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FullComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FullComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FullComment(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::FullComment::Blocks::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::FullComment::Blocks::get() { - auto _tmp__Blocks = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->Blocks) + auto _tmp__Blocks = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->Blocks; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockContentComment((struct ::CppSharp::CppParser::AST::BlockContentComment*)_element); _tmp__Blocks->Add(_marshalElement); } return _tmp__Blocks; } -void CppSharp::Parser::AST::FullComment::Blocks::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::FullComment::Blocks::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::BlockContentComment*>(); for each(CppSharp::Parser::AST::BlockContentComment^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::BlockContentComment*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::BlockContentComment*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->Blocks = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->Blocks = _tmpvalue; } unsigned int CppSharp::Parser::AST::FullComment::BlocksCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocksCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr)->getBlocksCount(); return __ret; } -CppSharp::Parser::AST::InlineContentComment::InlineContentComment(::CppSharp::CppParser::AST::InlineContentComment* native) +CppSharp::Parser::AST::InlineContentComment::InlineContentComment(struct ::CppSharp::CppParser::AST::InlineContentComment* native) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native) { } CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::InlineContentComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::InlineContentComment((struct ::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer()); } -CppSharp::Parser::AST::InlineContentComment::InlineContentComment(::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::InlineContentComment::InlineContentComment(struct ::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance) { } CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::InlineContentComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::InlineContentComment((struct ::CppSharp::CppParser::AST::InlineContentComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::InlineContentComment::~InlineContentComment() @@ -426,15 +429,15 @@ CppSharp::Parser::AST::InlineContentComment::InlineContentComment() : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::InlineContentComment(); } CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Parser::AST::CommentKind Kind) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; - NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; + NativePtr = new struct ::CppSharp::CppParser::AST::InlineContentComment(__arg0); } CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Parser::AST::InlineContentComment^ _0) @@ -443,46 +446,46 @@ CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InlineContentComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::InlineContentComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InlineContentComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::InlineContentComment(__arg0); } CppSharp::Parser::AST::InlineContentComment::operator CppSharp::Parser::AST::InlineContentComment^(CppSharp::Parser::AST::CommentKind Kind) { - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; auto __ret = (::CppSharp::CppParser::AST::InlineContentComment) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::InlineContentComment(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::InlineContentComment(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((struct ::CppSharp::CppParser::AST::InlineContentComment*)____ret, true); } bool CppSharp::Parser::AST::InlineContentComment::HasTrailingNewline::get() { - return ((::CppSharp::CppParser::AST::InlineContentComment*)NativePtr)->hasTrailingNewline; + return ((struct ::CppSharp::CppParser::AST::InlineContentComment*)NativePtr)->hasTrailingNewline; } void CppSharp::Parser::AST::InlineContentComment::HasTrailingNewline::set(bool value) { - ((::CppSharp::CppParser::AST::InlineContentComment*)NativePtr)->hasTrailingNewline = value; + ((struct ::CppSharp::CppParser::AST::InlineContentComment*)NativePtr)->hasTrailingNewline = value; } -CppSharp::Parser::AST::ParagraphComment::ParagraphComment(::CppSharp::CppParser::AST::ParagraphComment* native) +CppSharp::Parser::AST::ParagraphComment::ParagraphComment(struct ::CppSharp::CppParser::AST::ParagraphComment* native) : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native) { } CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::ParagraphComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ParagraphComment((::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ParagraphComment((struct ::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer()); } -CppSharp::Parser::AST::ParagraphComment::ParagraphComment(::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::ParagraphComment::ParagraphComment(struct ::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::ParagraphComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ParagraphComment((::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ParagraphComment((struct ::CppSharp::CppParser::AST::ParagraphComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ParagraphComment::~ParagraphComment() @@ -491,7 +494,7 @@ CppSharp::Parser::AST::ParagraphComment::~ParagraphComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ParagraphComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ParagraphComment*) __nativePtr; } } @@ -499,27 +502,27 @@ CppSharp::Parser::AST::ParagraphComment::ParagraphComment() : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ParagraphComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::ParagraphComment(); } CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::ParagraphComment::GetContent(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContent(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContent(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((struct ::CppSharp::CppParser::AST::InlineContentComment*)__ret); } void CppSharp::Parser::AST::ParagraphComment::AddContent(CppSharp::Parser::AST::InlineContentComment^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::InlineContentComment*)s->NativePtr; - ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->addContent(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::InlineContentComment*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->addContent(__arg0); } void CppSharp::Parser::AST::ParagraphComment::ClearContent() { - ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->clearContent(); + ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->clearContent(); } CppSharp::Parser::AST::ParagraphComment::ParagraphComment(CppSharp::Parser::AST::ParagraphComment^ _0) @@ -528,49 +531,50 @@ CppSharp::Parser::AST::ParagraphComment::ParagraphComment(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ParagraphComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ParagraphComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ParagraphComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ParagraphComment(__arg0); } bool CppSharp::Parser::AST::ParagraphComment::IsWhitespace::get() { - return ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->isWhitespace; + return ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->isWhitespace; } void CppSharp::Parser::AST::ParagraphComment::IsWhitespace::set(bool value) { - ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->isWhitespace = value; + ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->isWhitespace = value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::ParagraphComment::Content::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ParagraphComment::Content::get() { - auto _tmp__Content = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->Content) + auto _tmp__Content = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->Content; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineContentComment((struct ::CppSharp::CppParser::AST::InlineContentComment*)_element); _tmp__Content->Add(_marshalElement); } return _tmp__Content; } -void CppSharp::Parser::AST::ParagraphComment::Content::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ParagraphComment::Content::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::InlineContentComment*>(); for each(CppSharp::Parser::AST::InlineContentComment^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::InlineContentComment*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::InlineContentComment*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->Content = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->Content = _tmpvalue; } unsigned int CppSharp::Parser::AST::ParagraphComment::ContentCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContentCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ParagraphComment*)NativePtr)->getContentCount(); return __ret; } -CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppParser::AST::BlockCommandComment::Argument* native) +CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -578,10 +582,10 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppPa CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer()); } -CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance) +CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -589,7 +593,7 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(::CppSharp::CppPa CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BlockCommandComment::Argument::~Argument() @@ -600,7 +604,7 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::~Argument() CppSharp::Parser::AST::BlockCommandComment::Argument::Argument() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(); + NativePtr = new struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument(); } CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(CppSharp::Parser::AST::BlockCommandComment::Argument^ _0) @@ -608,48 +612,48 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(CppSharp::Parser: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment::Argument*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument(__arg0); } -System::IntPtr CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::BlockCommandComment::Argument::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::BlockCommandComment::Argument*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)object.ToPointer(); } -System::String^ CppSharp::Parser::AST::BlockCommandComment::Argument::Text::get() +::System::String^ CppSharp::Parser::AST::BlockCommandComment::Argument::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)NativePtr)->text); + return clix::marshalString(NativePtr->text); } -void CppSharp::Parser::AST::BlockCommandComment::Argument::Text::set(System::String^ value) +void CppSharp::Parser::AST::BlockCommandComment::Argument::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)NativePtr)->text = clix::marshalString(value); } -CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(::CppSharp::CppParser::AST::BlockCommandComment* native) +CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(struct ::CppSharp::CppParser::AST::BlockCommandComment* native) : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native) { } CppSharp::Parser::AST::BlockCommandComment^ CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BlockCommandComment((struct ::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer()); } -CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(struct ::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::BlockCommandComment^ CppSharp::Parser::AST::BlockCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BlockCommandComment((struct ::CppSharp::CppParser::AST::BlockCommandComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BlockCommandComment::~BlockCommandComment() @@ -658,7 +662,7 @@ CppSharp::Parser::AST::BlockCommandComment::~BlockCommandComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::BlockCommandComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::BlockCommandComment*) __nativePtr; } } @@ -666,35 +670,35 @@ CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment() : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::BlockCommandComment(); } CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser::AST::CommentKind Kind) : CppSharp::Parser::AST::BlockContentComment((::CppSharp::CppParser::AST::BlockContentComment*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; - NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockCommandComment(__arg0); } CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::BlockCommandComment::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)____ret, true); } void CppSharp::Parser::AST::BlockCommandComment::AddArguments(CppSharp::Parser::AST::BlockCommandComment::Argument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment::Argument*)s->NativePtr; - ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::BlockCommandComment::ClearArguments() { - ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser::AST::BlockCommandComment^ _0) @@ -703,87 +707,88 @@ CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BlockCommandComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BlockCommandComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BlockCommandComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockCommandComment(__arg0); } CppSharp::Parser::AST::BlockCommandComment::operator CppSharp::Parser::AST::BlockCommandComment^(CppSharp::Parser::AST::CommentKind Kind) { - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; auto __ret = (::CppSharp::CppParser::AST::BlockCommandComment) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::BlockCommandComment(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::BlockCommandComment(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment((struct ::CppSharp::CppParser::AST::BlockCommandComment*)____ret, true); } unsigned int CppSharp::Parser::AST::BlockCommandComment::CommandId::get() { - return ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->commandId; + return ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->commandId; } void CppSharp::Parser::AST::BlockCommandComment::CommandId::set(unsigned int value) { - ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->commandId = value; + ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->commandId = value; } CppSharp::Parser::AST::ParagraphComment^ CppSharp::Parser::AST::BlockCommandComment::ParagraphComment::get() { - return (((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ParagraphComment((::CppSharp::CppParser::AST::ParagraphComment*)((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment); + return (((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ParagraphComment((struct ::CppSharp::CppParser::AST::ParagraphComment*)((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment); } void CppSharp::Parser::AST::BlockCommandComment::ParagraphComment::set(CppSharp::Parser::AST::ParagraphComment^ value) { - ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment = (::CppSharp::CppParser::AST::ParagraphComment*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->paragraphComment = (struct ::CppSharp::CppParser::AST::ParagraphComment*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::BlockCommandComment::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::BlockCommandComment::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::BlockCommandComment::Argument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((::CppSharp::CppParser::AST::BlockCommandComment::Argument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BlockCommandComment::Argument((struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::BlockCommandComment::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::BlockCommandComment::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::BlockCommandComment::Argument>(); for each(CppSharp::Parser::AST::BlockCommandComment::Argument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::BlockCommandComment::Argument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->Arguments = _tmpvalue; } unsigned int CppSharp::Parser::AST::BlockCommandComment::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::BlockCommandComment*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(::CppSharp::CppParser::AST::ParamCommandComment* native) +CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(struct ::CppSharp::CppParser::AST::ParamCommandComment* native) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native) { } CppSharp::Parser::AST::ParamCommandComment^ CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ParamCommandComment((::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ParamCommandComment((struct ::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer()); } -CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(struct ::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::ParamCommandComment^ CppSharp::Parser::AST::ParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ParamCommandComment((::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ParamCommandComment((struct ::CppSharp::CppParser::AST::ParamCommandComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ParamCommandComment::~ParamCommandComment() @@ -792,7 +797,7 @@ CppSharp::Parser::AST::ParamCommandComment::~ParamCommandComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ParamCommandComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ParamCommandComment*) __nativePtr; } } @@ -800,7 +805,7 @@ CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment() : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ParamCommandComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::ParamCommandComment(); } CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(CppSharp::Parser::AST::ParamCommandComment^ _0) @@ -809,48 +814,48 @@ CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ParamCommandComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ParamCommandComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ParamCommandComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ParamCommandComment(__arg0); } CppSharp::Parser::AST::ParamCommandComment::PassDirection CppSharp::Parser::AST::ParamCommandComment::Direction::get() { - return (CppSharp::Parser::AST::ParamCommandComment::PassDirection)((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->direction; + return (CppSharp::Parser::AST::ParamCommandComment::PassDirection)((struct ::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->direction; } void CppSharp::Parser::AST::ParamCommandComment::Direction::set(CppSharp::Parser::AST::ParamCommandComment::PassDirection value) { - ((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->direction = (::CppSharp::CppParser::AST::ParamCommandComment::PassDirection)value; + ((struct ::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->direction = (enum ::CppSharp::CppParser::AST::ParamCommandComment::PassDirection)value; } unsigned int CppSharp::Parser::AST::ParamCommandComment::ParamIndex::get() { - return ((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->paramIndex; + return ((struct ::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->paramIndex; } void CppSharp::Parser::AST::ParamCommandComment::ParamIndex::set(unsigned int value) { - ((::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->paramIndex = value; + ((struct ::CppSharp::CppParser::AST::ParamCommandComment*)NativePtr)->paramIndex = value; } -CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(::CppSharp::CppParser::AST::TParamCommandComment* native) +CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(struct ::CppSharp::CppParser::AST::TParamCommandComment* native) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native) { } CppSharp::Parser::AST::TParamCommandComment^ CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TParamCommandComment((::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TParamCommandComment((struct ::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer()); } -CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(struct ::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::TParamCommandComment^ CppSharp::Parser::AST::TParamCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TParamCommandComment((::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TParamCommandComment((struct ::CppSharp::CppParser::AST::TParamCommandComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TParamCommandComment::~TParamCommandComment() @@ -859,7 +864,7 @@ CppSharp::Parser::AST::TParamCommandComment::~TParamCommandComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TParamCommandComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TParamCommandComment*) __nativePtr; } } @@ -867,25 +872,25 @@ CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment() : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TParamCommandComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::TParamCommandComment(); } unsigned int CppSharp::Parser::AST::TParamCommandComment::GetPosition(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPosition(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPosition(i); return __ret; } -void CppSharp::Parser::AST::TParamCommandComment::AddPosition([System::Runtime::InteropServices::In, System::Runtime::InteropServices::Out] unsigned int% s) +void CppSharp::Parser::AST::TParamCommandComment::AddPosition([::System::Runtime::InteropServices::In, ::System::Runtime::InteropServices::Out] unsigned int% s) { unsigned int __arg0 = s; - ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->addPosition(__arg0); + ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->addPosition(__arg0); s = __arg0; } void CppSharp::Parser::AST::TParamCommandComment::ClearPosition() { - ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->clearPosition(); + ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->clearPosition(); } CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(CppSharp::Parser::AST::TParamCommandComment^ _0) @@ -894,14 +899,15 @@ CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TParamCommandComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TParamCommandComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TParamCommandComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TParamCommandComment(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::TParamCommandComment::Position::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::TParamCommandComment::Position::get() { - auto _tmp__Position = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->Position) + auto _tmp__Position = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->Position; + for(auto _element : __list0) { auto _marshalElement = _element; _tmp__Position->Add(_marshalElement); @@ -909,7 +915,7 @@ System::Collections::Generic::List^ CppSharp::Parser::AST::TParamC return _tmp__Position; } -void CppSharp::Parser::AST::TParamCommandComment::Position::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::TParamCommandComment::Position::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector(); for each(unsigned int _element in value) @@ -917,33 +923,33 @@ void CppSharp::Parser::AST::TParamCommandComment::Position::set(System::Collecti auto _marshalElement = _element; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->Position = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->Position = _tmpvalue; } unsigned int CppSharp::Parser::AST::TParamCommandComment::PositionCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPositionCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::TParamCommandComment*)NativePtr)->getPositionCount(); return __ret; } -CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(::CppSharp::CppParser::AST::VerbatimBlockLineComment* native) +CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment* native) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native) { } CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer()); } -CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)native, ownNativeInstance) { } CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VerbatimBlockLineComment::~VerbatimBlockLineComment() @@ -952,7 +958,7 @@ CppSharp::Parser::AST::VerbatimBlockLineComment::~VerbatimBlockLineComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VerbatimBlockLineComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*) __nativePtr; } } @@ -960,7 +966,7 @@ CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment() : CppSharp::Parser::AST::Comment((::CppSharp::CppParser::AST::Comment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockLineComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment(); } CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(CppSharp::Parser::AST::VerbatimBlockLineComment^ _0) @@ -969,38 +975,38 @@ CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockLineComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment(__arg0); } -System::String^ CppSharp::Parser::AST::VerbatimBlockLineComment::Text::get() +::System::String^ CppSharp::Parser::AST::VerbatimBlockLineComment::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->text); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->text); } -void CppSharp::Parser::AST::VerbatimBlockLineComment::Text::set(System::String^ value) +void CppSharp::Parser::AST::VerbatimBlockLineComment::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)NativePtr)->text = clix::marshalString(value); } -CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(::CppSharp::CppParser::AST::VerbatimBlockComment* native) +CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(struct ::CppSharp::CppParser::AST::VerbatimBlockComment* native) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native) { } CppSharp::Parser::AST::VerbatimBlockComment^ CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer()); } -CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(struct ::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::VerbatimBlockComment^ CppSharp::Parser::AST::VerbatimBlockComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VerbatimBlockComment((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VerbatimBlockComment::~VerbatimBlockComment() @@ -1009,7 +1015,7 @@ CppSharp::Parser::AST::VerbatimBlockComment::~VerbatimBlockComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VerbatimBlockComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VerbatimBlockComment*) __nativePtr; } } @@ -1017,27 +1023,27 @@ CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment() : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimBlockComment(); } CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::VerbatimBlockComment::GetLines(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLines(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLines(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)__ret); } void CppSharp::Parser::AST::VerbatimBlockComment::AddLines(CppSharp::Parser::AST::VerbatimBlockLineComment^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::VerbatimBlockLineComment*)s->NativePtr; - ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->addLines(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->addLines(__arg0); } void CppSharp::Parser::AST::VerbatimBlockComment::ClearLines() { - ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->clearLines(); + ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->clearLines(); } CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(CppSharp::Parser::AST::VerbatimBlockComment^ _0) @@ -1046,56 +1052,57 @@ CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VerbatimBlockComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimBlockComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimBlockComment(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::VerbatimBlockComment::Lines::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::VerbatimBlockComment::Lines::get() { - auto _tmp__Lines = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->Lines) + auto _tmp__Lines = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->Lines; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VerbatimBlockLineComment((struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_element); _tmp__Lines->Add(_marshalElement); } return _tmp__Lines; } -void CppSharp::Parser::AST::VerbatimBlockComment::Lines::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::VerbatimBlockComment::Lines::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::VerbatimBlockLineComment*>(); for each(CppSharp::Parser::AST::VerbatimBlockLineComment^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->Lines = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->Lines = _tmpvalue; } unsigned int CppSharp::Parser::AST::VerbatimBlockComment::LinesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLinesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::VerbatimBlockComment*)NativePtr)->getLinesCount(); return __ret; } -CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(::CppSharp::CppParser::AST::VerbatimLineComment* native) +CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(struct ::CppSharp::CppParser::AST::VerbatimLineComment* native) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native) { } CppSharp::Parser::AST::VerbatimLineComment^ CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VerbatimLineComment((::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VerbatimLineComment((struct ::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer()); } -CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(struct ::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::VerbatimLineComment^ CppSharp::Parser::AST::VerbatimLineComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VerbatimLineComment((::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VerbatimLineComment((struct ::CppSharp::CppParser::AST::VerbatimLineComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VerbatimLineComment::~VerbatimLineComment() @@ -1104,7 +1111,7 @@ CppSharp::Parser::AST::VerbatimLineComment::~VerbatimLineComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VerbatimLineComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VerbatimLineComment*) __nativePtr; } } @@ -1112,7 +1119,7 @@ CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment() : CppSharp::Parser::AST::BlockCommandComment((::CppSharp::CppParser::AST::BlockCommandComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimLineComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimLineComment(); } CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(CppSharp::Parser::AST::VerbatimLineComment^ _0) @@ -1121,21 +1128,21 @@ CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VerbatimLineComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VerbatimLineComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VerbatimLineComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VerbatimLineComment(__arg0); } -System::String^ CppSharp::Parser::AST::VerbatimLineComment::Text::get() +::System::String^ CppSharp::Parser::AST::VerbatimLineComment::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->text); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->text); } -void CppSharp::Parser::AST::VerbatimLineComment::Text::set(System::String^ value) +void CppSharp::Parser::AST::VerbatimLineComment::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::VerbatimLineComment*)NativePtr)->text = clix::marshalString(value); } -CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppParser::AST::InlineCommandComment::Argument* native) +CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -1143,10 +1150,10 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppP CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer()); } -CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance) +CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -1154,7 +1161,7 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(::CppSharp::CppP CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::Argument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::InlineCommandComment::Argument::~Argument() @@ -1165,7 +1172,7 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::~Argument() CppSharp::Parser::AST::InlineCommandComment::Argument::Argument() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(); + NativePtr = new struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument(); } CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(CppSharp::Parser::AST::InlineCommandComment::Argument^ _0) @@ -1173,48 +1180,48 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment::Argument*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument(__arg0); } -System::IntPtr CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::InlineCommandComment::Argument::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::InlineCommandComment::Argument*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)object.ToPointer(); } -System::String^ CppSharp::Parser::AST::InlineCommandComment::Argument::Text::get() +::System::String^ CppSharp::Parser::AST::InlineCommandComment::Argument::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)NativePtr)->text); + return clix::marshalString(NativePtr->text); } -void CppSharp::Parser::AST::InlineCommandComment::Argument::Text::set(System::String^ value) +void CppSharp::Parser::AST::InlineCommandComment::Argument::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)NativePtr)->text = clix::marshalString(value); } -CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(::CppSharp::CppParser::AST::InlineCommandComment* native) +CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(struct ::CppSharp::CppParser::AST::InlineCommandComment* native) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native) { } CppSharp::Parser::AST::InlineCommandComment^ CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::InlineCommandComment((::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::InlineCommandComment((struct ::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer()); } -CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(struct ::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::InlineCommandComment^ CppSharp::Parser::AST::InlineCommandComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::InlineCommandComment((::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::InlineCommandComment((struct ::CppSharp::CppParser::AST::InlineCommandComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::InlineCommandComment::~InlineCommandComment() @@ -1223,7 +1230,7 @@ CppSharp::Parser::AST::InlineCommandComment::~InlineCommandComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::InlineCommandComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::InlineCommandComment*) __nativePtr; } } @@ -1231,27 +1238,27 @@ CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment() : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::InlineCommandComment(); } CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::InlineCommandComment::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)____ret, true); } void CppSharp::Parser::AST::InlineCommandComment::AddArguments(CppSharp::Parser::AST::InlineCommandComment::Argument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment::Argument*)s->NativePtr; - ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::InlineCommandComment::ClearArguments() { - ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(CppSharp::Parser::AST::InlineCommandComment^ _0) @@ -1260,79 +1267,80 @@ CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InlineCommandComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::InlineCommandComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InlineCommandComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::InlineCommandComment(__arg0); } unsigned int CppSharp::Parser::AST::InlineCommandComment::CommandId::get() { - return ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commandId; + return ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commandId; } void CppSharp::Parser::AST::InlineCommandComment::CommandId::set(unsigned int value) { - ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commandId = value; + ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commandId = value; } CppSharp::Parser::AST::InlineCommandComment::RenderKind CppSharp::Parser::AST::InlineCommandComment::CommentRenderKind::get() { - return (CppSharp::Parser::AST::InlineCommandComment::RenderKind)((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commentRenderKind; + return (CppSharp::Parser::AST::InlineCommandComment::RenderKind)((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commentRenderKind; } void CppSharp::Parser::AST::InlineCommandComment::CommentRenderKind::set(CppSharp::Parser::AST::InlineCommandComment::RenderKind value) { - ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commentRenderKind = (::CppSharp::CppParser::AST::InlineCommandComment::RenderKind)value; + ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->commentRenderKind = (enum ::CppSharp::CppParser::AST::InlineCommandComment::RenderKind)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::InlineCommandComment::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::InlineCommandComment::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::InlineCommandComment::Argument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((::CppSharp::CppParser::AST::InlineCommandComment::Argument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InlineCommandComment::Argument((struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::InlineCommandComment::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::InlineCommandComment::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::InlineCommandComment::Argument>(); for each(CppSharp::Parser::AST::InlineCommandComment::Argument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::InlineCommandComment::Argument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->Arguments = _tmpvalue; } unsigned int CppSharp::Parser::AST::InlineCommandComment::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::InlineCommandComment*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(::CppSharp::CppParser::AST::HTMLTagComment* native) +CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(struct ::CppSharp::CppParser::AST::HTMLTagComment* native) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native) { } CppSharp::Parser::AST::HTMLTagComment^ CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::HTMLTagComment((struct ::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer()); } -CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(struct ::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::HTMLTagComment^ CppSharp::Parser::AST::HTMLTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::HTMLTagComment((struct ::CppSharp::CppParser::AST::HTMLTagComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::HTMLTagComment::~HTMLTagComment() @@ -1343,15 +1351,15 @@ CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment() : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLTagComment(); } CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::CommentKind Kind) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; - NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLTagComment(__arg0); } CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::HTMLTagComment^ _0) @@ -1360,19 +1368,19 @@ CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::HTM __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::HTMLTagComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::HTMLTagComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::HTMLTagComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLTagComment(__arg0); } CppSharp::Parser::AST::HTMLTagComment::operator CppSharp::Parser::AST::HTMLTagComment^(CppSharp::Parser::AST::CommentKind Kind) { - auto __arg0 = (::CppSharp::CppParser::AST::CommentKind)Kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::CommentKind)Kind; auto __ret = (::CppSharp::CppParser::AST::HTMLTagComment) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::HTMLTagComment(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::HTMLTagComment(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLTagComment((struct ::CppSharp::CppParser::AST::HTMLTagComment*)____ret, true); } -CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native) +CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -1380,10 +1388,10 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::Cpp CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer()); } -CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance) +CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -1391,7 +1399,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(::CppSharp::Cpp CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::HTMLStartTagComment::Attribute::~Attribute() @@ -1402,7 +1410,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::~Attribute() CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(); + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(); } CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ _0) @@ -1410,58 +1418,58 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(CppSharp::Parse __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(__arg0); } -System::IntPtr CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)object.ToPointer(); } -System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::get() +::System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->name); + return clix::marshalString(NativePtr->name); } -void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::set(System::String^ value) +void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Name::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->name = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->name = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::get() +::System::String^ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->value); + return clix::marshalString(NativePtr->value); } -void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::set(System::String^ value) +void CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Value::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->value = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)NativePtr)->value = clix::marshalString(value); } -CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(::CppSharp::CppParser::AST::HTMLStartTagComment* native) +CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(struct ::CppSharp::CppParser::AST::HTMLStartTagComment* native) : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native) { } CppSharp::Parser::AST::HTMLStartTagComment^ CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer()); } -CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(struct ::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::HTMLStartTagComment^ CppSharp::Parser::AST::HTMLStartTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::HTMLStartTagComment((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::HTMLStartTagComment::~HTMLStartTagComment() @@ -1470,7 +1478,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::~HTMLStartTagComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::HTMLStartTagComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::HTMLStartTagComment*) __nativePtr; } } @@ -1478,27 +1486,27 @@ CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment() : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment(); } CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HTMLStartTagComment::GetAttributes(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributes(i); - auto ____ret = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributes(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)____ret, true); } void CppSharp::Parser::AST::HTMLStartTagComment::AddAttributes(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)s->NativePtr; - ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->addAttributes(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->addAttributes(__arg0); } void CppSharp::Parser::AST::HTMLStartTagComment::ClearAttributes() { - ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->clearAttributes(); + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->clearAttributes(); } CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(CppSharp::Parser::AST::HTMLStartTagComment^ _0) @@ -1507,69 +1515,70 @@ CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::HTMLStartTagComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::HTMLStartTagComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment(__arg0); } -System::String^ CppSharp::Parser::AST::HTMLStartTagComment::TagName::get() +::System::String^ CppSharp::Parser::AST::HTMLStartTagComment::TagName::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->tagName); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->tagName); } -void CppSharp::Parser::AST::HTMLStartTagComment::TagName::set(System::String^ value) +void CppSharp::Parser::AST::HTMLStartTagComment::TagName::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->tagName = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->tagName = clix::marshalString(value); } -System::Collections::Generic::List^ CppSharp::Parser::AST::HTMLStartTagComment::Attributes::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::HTMLStartTagComment::Attributes::get() { - auto _tmp__Attributes = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->Attributes) + auto _tmp__Attributes = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->Attributes; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::HTMLStartTagComment::Attribute((struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)___element, true); _tmp__Attributes->Add(_marshalElement); } return _tmp__Attributes; } -void CppSharp::Parser::AST::HTMLStartTagComment::Attributes::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::HTMLStartTagComment::Attributes::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute>(); for each(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->Attributes = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->Attributes = _tmpvalue; } unsigned int CppSharp::Parser::AST::HTMLStartTagComment::AttributesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::HTMLStartTagComment*)NativePtr)->getAttributesCount(); return __ret; } -CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(::CppSharp::CppParser::AST::HTMLEndTagComment* native) +CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(struct ::CppSharp::CppParser::AST::HTMLEndTagComment* native) : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native) { } CppSharp::Parser::AST::HTMLEndTagComment^ CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((struct ::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer()); } -CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(struct ::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::HTMLEndTagComment^ CppSharp::Parser::AST::HTMLEndTagComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::HTMLEndTagComment((struct ::CppSharp::CppParser::AST::HTMLEndTagComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::HTMLEndTagComment::~HTMLEndTagComment() @@ -1578,7 +1587,7 @@ CppSharp::Parser::AST::HTMLEndTagComment::~HTMLEndTagComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::HTMLEndTagComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::HTMLEndTagComment*) __nativePtr; } } @@ -1586,7 +1595,7 @@ CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment() : CppSharp::Parser::AST::HTMLTagComment((::CppSharp::CppParser::AST::HTMLTagComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::HTMLEndTagComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLEndTagComment(); } CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(CppSharp::Parser::AST::HTMLEndTagComment^ _0) @@ -1595,38 +1604,38 @@ CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::HTMLEndTagComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::HTMLEndTagComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::HTMLEndTagComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::HTMLEndTagComment(__arg0); } -System::String^ CppSharp::Parser::AST::HTMLEndTagComment::TagName::get() +::System::String^ CppSharp::Parser::AST::HTMLEndTagComment::TagName::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->tagName); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->tagName); } -void CppSharp::Parser::AST::HTMLEndTagComment::TagName::set(System::String^ value) +void CppSharp::Parser::AST::HTMLEndTagComment::TagName::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->tagName = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::HTMLEndTagComment*)NativePtr)->tagName = clix::marshalString(value); } -CppSharp::Parser::AST::TextComment::TextComment(::CppSharp::CppParser::AST::TextComment* native) +CppSharp::Parser::AST::TextComment::TextComment(struct ::CppSharp::CppParser::AST::TextComment* native) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native) { } CppSharp::Parser::AST::TextComment^ CppSharp::Parser::AST::TextComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TextComment((::CppSharp::CppParser::AST::TextComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TextComment((struct ::CppSharp::CppParser::AST::TextComment*) native.ToPointer()); } -CppSharp::Parser::AST::TextComment::TextComment(::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::TextComment::TextComment(struct ::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance) : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)native, ownNativeInstance) { } CppSharp::Parser::AST::TextComment^ CppSharp::Parser::AST::TextComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TextComment((::CppSharp::CppParser::AST::TextComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TextComment((struct ::CppSharp::CppParser::AST::TextComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TextComment::~TextComment() @@ -1635,7 +1644,7 @@ CppSharp::Parser::AST::TextComment::~TextComment() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TextComment*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TextComment*) __nativePtr; } } @@ -1643,7 +1652,7 @@ CppSharp::Parser::AST::TextComment::TextComment() : CppSharp::Parser::AST::InlineContentComment((::CppSharp::CppParser::AST::InlineContentComment*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TextComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::TextComment(); } CppSharp::Parser::AST::TextComment::TextComment(CppSharp::Parser::AST::TextComment^ _0) @@ -1652,21 +1661,21 @@ CppSharp::Parser::AST::TextComment::TextComment(CppSharp::Parser::AST::TextComme __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TextComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TextComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TextComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TextComment(__arg0); } -System::String^ CppSharp::Parser::AST::TextComment::Text::get() +::System::String^ CppSharp::Parser::AST::TextComment::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::TextComment*)NativePtr)->text); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::TextComment*)NativePtr)->text); } -void CppSharp::Parser::AST::TextComment::Text::set(System::String^ value) +void CppSharp::Parser::AST::TextComment::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::TextComment*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::TextComment*)NativePtr)->text = clix::marshalString(value); } -CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawComment* native) +CppSharp::Parser::AST::RawComment::RawComment(struct ::CppSharp::CppParser::AST::RawComment* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -1674,10 +1683,10 @@ CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawCom CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::RawComment::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::RawComment((struct ::CppSharp::CppParser::AST::RawComment*) native.ToPointer()); } -CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance) +CppSharp::Parser::AST::RawComment::RawComment(struct ::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -1685,7 +1694,7 @@ CppSharp::Parser::AST::RawComment::RawComment(::CppSharp::CppParser::AST::RawCom CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::RawComment::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::RawComment((struct ::CppSharp::CppParser::AST::RawComment*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::RawComment::~RawComment() @@ -1696,7 +1705,7 @@ CppSharp::Parser::AST::RawComment::~RawComment() CppSharp::Parser::AST::RawComment::RawComment() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::RawComment(); + NativePtr = new struct ::CppSharp::CppParser::AST::RawComment(); } CppSharp::Parser::AST::RawComment::RawComment(CppSharp::Parser::AST::RawComment^ _0) @@ -1704,57 +1713,57 @@ CppSharp::Parser::AST::RawComment::RawComment(CppSharp::Parser::AST::RawComment^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::RawComment*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::RawComment(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::RawComment*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::RawComment(__arg0); } -System::IntPtr CppSharp::Parser::AST::RawComment::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::RawComment::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::RawComment::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::RawComment::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::RawComment*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::RawComment*)object.ToPointer(); } CppSharp::Parser::AST::RawCommentKind CppSharp::Parser::AST::RawComment::Kind::get() { - return (CppSharp::Parser::AST::RawCommentKind)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->kind; + return (CppSharp::Parser::AST::RawCommentKind)NativePtr->kind; } void CppSharp::Parser::AST::RawComment::Kind::set(CppSharp::Parser::AST::RawCommentKind value) { - ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->kind = (::CppSharp::CppParser::AST::RawCommentKind)value; + ((struct ::CppSharp::CppParser::AST::RawComment*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::RawCommentKind)value; } -System::String^ CppSharp::Parser::AST::RawComment::Text::get() +::System::String^ CppSharp::Parser::AST::RawComment::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::RawComment*)NativePtr)->text); + return clix::marshalString(NativePtr->text); } -void CppSharp::Parser::AST::RawComment::Text::set(System::String^ value) +void CppSharp::Parser::AST::RawComment::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::RawComment*)NativePtr)->text = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::RawComment::BriefText::get() +::System::String^ CppSharp::Parser::AST::RawComment::BriefText::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::RawComment*)NativePtr)->briefText); + return clix::marshalString(NativePtr->briefText); } -void CppSharp::Parser::AST::RawComment::BriefText::set(System::String^ value) +void CppSharp::Parser::AST::RawComment::BriefText::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->briefText = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::RawComment*)NativePtr)->briefText = clix::marshalString(value); } CppSharp::Parser::AST::FullComment^ CppSharp::Parser::AST::RawComment::FullCommentBlock::get() { - return (((::CppSharp::CppParser::AST::RawComment*)NativePtr)->fullCommentBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FullComment((::CppSharp::CppParser::AST::FullComment*)((::CppSharp::CppParser::AST::RawComment*)NativePtr)->fullCommentBlock); + return (NativePtr->fullCommentBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FullComment((struct ::CppSharp::CppParser::AST::FullComment*)NativePtr->fullCommentBlock); } void CppSharp::Parser::AST::RawComment::FullCommentBlock::set(CppSharp::Parser::AST::FullComment^ value) { - ((::CppSharp::CppParser::AST::RawComment*)NativePtr)->fullCommentBlock = (::CppSharp::CppParser::AST::FullComment*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::RawComment*)NativePtr)->fullCommentBlock = (struct ::CppSharp::CppParser::AST::FullComment*)value->NativePtr; } diff --git a/src/CppParser/Bindings/CLI/AST.h b/src/CppParser/Bindings/CLI/AST.h index 420f4173..979197e0 100644 --- a/src/CppParser/Bindings/CLI/AST.h +++ b/src/CppParser/Bindings/CLI/AST.h @@ -88,15 +88,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::NativeLibrary* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::NativeLibrary* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - NativeLibrary(::CppSharp::CppParser::AST::NativeLibrary* native); - NativeLibrary(::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance); + NativeLibrary(struct ::CppSharp::CppParser::AST::NativeLibrary* native); + NativeLibrary(struct ::CppSharp::CppParser::AST::NativeLibrary* native, bool ownNativeInstance); static NativeLibrary^ __CreateInstance(::System::IntPtr native); static NativeLibrary^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); NativeLibrary(); @@ -105,10 +105,10 @@ namespace CppSharp ~NativeLibrary(); - property System::String^ FileName + property ::System::String^ FileName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::ArchType ArchType @@ -117,16 +117,16 @@ namespace CppSharp void set(CppSharp::Parser::AST::ArchType); } - property System::Collections::Generic::List^ Symbols + property ::System::Collections::Generic::List<::System::String^>^ Symbols { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ Dependencies + property ::System::Collections::Generic::List<::System::String^>^ Dependencies { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } property unsigned int SymbolsCount @@ -139,15 +139,15 @@ namespace CppSharp unsigned int get(); } - System::String^ GetSymbols(unsigned int i); + ::System::String^ GetSymbols(unsigned int i); - void AddSymbols(System::String^ s); + void AddSymbols(::System::String^ s); void ClearSymbols(); - System::String^ GetDependencies(unsigned int i); + ::System::String^ GetDependencies(unsigned int i); - void AddDependencies(System::String^ s); + void AddDependencies(::System::String^ s); void ClearDependencies(); @@ -160,15 +160,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::Comment* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::Comment* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Comment(::CppSharp::CppParser::AST::Comment* native); - Comment(::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance); + Comment(struct ::CppSharp::CppParser::AST::Comment* native); + Comment(struct ::CppSharp::CppParser::AST::Comment* native, bool ownNativeInstance); static Comment^ __CreateInstance(::System::IntPtr native); static Comment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Comment(CppSharp::Parser::AST::CommentKind kind); @@ -194,8 +194,8 @@ namespace CppSharp { public: - BlockContentComment(::CppSharp::CppParser::AST::BlockContentComment* native); - BlockContentComment(::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance); + BlockContentComment(struct ::CppSharp::CppParser::AST::BlockContentComment* native); + BlockContentComment(struct ::CppSharp::CppParser::AST::BlockContentComment* native, bool ownNativeInstance); static BlockContentComment^ __CreateInstance(::System::IntPtr native); static BlockContentComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BlockContentComment(); @@ -213,8 +213,8 @@ namespace CppSharp { public: - FullComment(::CppSharp::CppParser::AST::FullComment* native); - FullComment(::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance); + FullComment(struct ::CppSharp::CppParser::AST::FullComment* native); + FullComment(struct ::CppSharp::CppParser::AST::FullComment* native, bool ownNativeInstance); static FullComment^ __CreateInstance(::System::IntPtr native); static FullComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FullComment(); @@ -223,10 +223,10 @@ namespace CppSharp ~FullComment(); - property System::Collections::Generic::List^ Blocks + property ::System::Collections::Generic::List^ Blocks { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int BlocksCount @@ -245,8 +245,8 @@ namespace CppSharp { public: - InlineContentComment(::CppSharp::CppParser::AST::InlineContentComment* native); - InlineContentComment(::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance); + InlineContentComment(struct ::CppSharp::CppParser::AST::InlineContentComment* native); + InlineContentComment(struct ::CppSharp::CppParser::AST::InlineContentComment* native, bool ownNativeInstance); static InlineContentComment^ __CreateInstance(::System::IntPtr native); static InlineContentComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); InlineContentComment(); @@ -270,8 +270,8 @@ namespace CppSharp { public: - ParagraphComment(::CppSharp::CppParser::AST::ParagraphComment* native); - ParagraphComment(::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance); + ParagraphComment(struct ::CppSharp::CppParser::AST::ParagraphComment* native); + ParagraphComment(struct ::CppSharp::CppParser::AST::ParagraphComment* native, bool ownNativeInstance); static ParagraphComment^ __CreateInstance(::System::IntPtr native); static ParagraphComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParagraphComment(); @@ -286,10 +286,10 @@ namespace CppSharp void set(bool); } - property System::Collections::Generic::List^ Content + property ::System::Collections::Generic::List^ Content { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ContentCount @@ -312,15 +312,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::BlockCommandComment::Argument* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Argument(::CppSharp::CppParser::AST::BlockCommandComment::Argument* native); - Argument(::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance); + Argument(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument* native); + Argument(struct ::CppSharp::CppParser::AST::BlockCommandComment::Argument* native, bool ownNativeInstance); static Argument^ __CreateInstance(::System::IntPtr native); static Argument^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Argument(); @@ -329,10 +329,10 @@ namespace CppSharp ~Argument(); - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } protected: @@ -340,8 +340,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - BlockCommandComment(::CppSharp::CppParser::AST::BlockCommandComment* native); - BlockCommandComment(::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance); + BlockCommandComment(struct ::CppSharp::CppParser::AST::BlockCommandComment* native); + BlockCommandComment(struct ::CppSharp::CppParser::AST::BlockCommandComment* native, bool ownNativeInstance); static BlockCommandComment^ __CreateInstance(::System::IntPtr native); static BlockCommandComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BlockCommandComment(); @@ -364,10 +364,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::ParagraphComment^); } - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ArgumentsCount @@ -395,8 +395,8 @@ namespace CppSharp InOut = 2 }; - ParamCommandComment(::CppSharp::CppParser::AST::ParamCommandComment* native); - ParamCommandComment(::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance); + ParamCommandComment(struct ::CppSharp::CppParser::AST::ParamCommandComment* native); + ParamCommandComment(struct ::CppSharp::CppParser::AST::ParamCommandComment* native, bool ownNativeInstance); static ParamCommandComment^ __CreateInstance(::System::IntPtr native); static ParamCommandComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParamCommandComment(); @@ -422,8 +422,8 @@ namespace CppSharp { public: - TParamCommandComment(::CppSharp::CppParser::AST::TParamCommandComment* native); - TParamCommandComment(::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance); + TParamCommandComment(struct ::CppSharp::CppParser::AST::TParamCommandComment* native); + TParamCommandComment(struct ::CppSharp::CppParser::AST::TParamCommandComment* native, bool ownNativeInstance); static TParamCommandComment^ __CreateInstance(::System::IntPtr native); static TParamCommandComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TParamCommandComment(); @@ -432,10 +432,10 @@ namespace CppSharp ~TParamCommandComment(); - property System::Collections::Generic::List^ Position + property ::System::Collections::Generic::List^ Position { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int PositionCount @@ -445,7 +445,7 @@ namespace CppSharp unsigned int GetPosition(unsigned int i); - void AddPosition([System::Runtime::InteropServices::In, System::Runtime::InteropServices::Out] unsigned int% s); + void AddPosition([::System::Runtime::InteropServices::In, ::System::Runtime::InteropServices::Out] unsigned int% s); void ClearPosition(); }; @@ -454,8 +454,8 @@ namespace CppSharp { public: - VerbatimBlockLineComment(::CppSharp::CppParser::AST::VerbatimBlockLineComment* native); - VerbatimBlockLineComment(::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance); + VerbatimBlockLineComment(struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment* native); + VerbatimBlockLineComment(struct ::CppSharp::CppParser::AST::VerbatimBlockLineComment* native, bool ownNativeInstance); static VerbatimBlockLineComment^ __CreateInstance(::System::IntPtr native); static VerbatimBlockLineComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VerbatimBlockLineComment(); @@ -464,10 +464,10 @@ namespace CppSharp ~VerbatimBlockLineComment(); - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -475,8 +475,8 @@ namespace CppSharp { public: - VerbatimBlockComment(::CppSharp::CppParser::AST::VerbatimBlockComment* native); - VerbatimBlockComment(::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance); + VerbatimBlockComment(struct ::CppSharp::CppParser::AST::VerbatimBlockComment* native); + VerbatimBlockComment(struct ::CppSharp::CppParser::AST::VerbatimBlockComment* native, bool ownNativeInstance); static VerbatimBlockComment^ __CreateInstance(::System::IntPtr native); static VerbatimBlockComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VerbatimBlockComment(); @@ -485,10 +485,10 @@ namespace CppSharp ~VerbatimBlockComment(); - property System::Collections::Generic::List^ Lines + property ::System::Collections::Generic::List^ Lines { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int LinesCount @@ -507,8 +507,8 @@ namespace CppSharp { public: - VerbatimLineComment(::CppSharp::CppParser::AST::VerbatimLineComment* native); - VerbatimLineComment(::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance); + VerbatimLineComment(struct ::CppSharp::CppParser::AST::VerbatimLineComment* native); + VerbatimLineComment(struct ::CppSharp::CppParser::AST::VerbatimLineComment* native, bool ownNativeInstance); static VerbatimLineComment^ __CreateInstance(::System::IntPtr native); static VerbatimLineComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VerbatimLineComment(); @@ -517,10 +517,10 @@ namespace CppSharp ~VerbatimLineComment(); - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -541,15 +541,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::InlineCommandComment::Argument* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Argument(::CppSharp::CppParser::AST::InlineCommandComment::Argument* native); - Argument(::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance); + Argument(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument* native); + Argument(struct ::CppSharp::CppParser::AST::InlineCommandComment::Argument* native, bool ownNativeInstance); static Argument^ __CreateInstance(::System::IntPtr native); static Argument^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Argument(); @@ -558,10 +558,10 @@ namespace CppSharp ~Argument(); - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } protected: @@ -569,8 +569,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - InlineCommandComment(::CppSharp::CppParser::AST::InlineCommandComment* native); - InlineCommandComment(::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance); + InlineCommandComment(struct ::CppSharp::CppParser::AST::InlineCommandComment* native); + InlineCommandComment(struct ::CppSharp::CppParser::AST::InlineCommandComment* native, bool ownNativeInstance); static InlineCommandComment^ __CreateInstance(::System::IntPtr native); static InlineCommandComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); InlineCommandComment(); @@ -591,10 +591,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::InlineCommandComment::RenderKind); } - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ArgumentsCount @@ -613,8 +613,8 @@ namespace CppSharp { public: - HTMLTagComment(::CppSharp::CppParser::AST::HTMLTagComment* native); - HTMLTagComment(::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance); + HTMLTagComment(struct ::CppSharp::CppParser::AST::HTMLTagComment* native); + HTMLTagComment(struct ::CppSharp::CppParser::AST::HTMLTagComment* native, bool ownNativeInstance); static HTMLTagComment^ __CreateInstance(::System::IntPtr native); static HTMLTagComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); HTMLTagComment(); @@ -636,15 +636,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Attribute(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native); - Attribute(::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance); + Attribute(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native); + Attribute(struct ::CppSharp::CppParser::AST::HTMLStartTagComment::Attribute* native, bool ownNativeInstance); static Attribute^ __CreateInstance(::System::IntPtr native); static Attribute^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Attribute(); @@ -653,16 +653,16 @@ namespace CppSharp ~Attribute(); - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Value + property ::System::String^ Value { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } protected: @@ -670,8 +670,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - HTMLStartTagComment(::CppSharp::CppParser::AST::HTMLStartTagComment* native); - HTMLStartTagComment(::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance); + HTMLStartTagComment(struct ::CppSharp::CppParser::AST::HTMLStartTagComment* native); + HTMLStartTagComment(struct ::CppSharp::CppParser::AST::HTMLStartTagComment* native, bool ownNativeInstance); static HTMLStartTagComment^ __CreateInstance(::System::IntPtr native); static HTMLStartTagComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); HTMLStartTagComment(); @@ -680,16 +680,16 @@ namespace CppSharp ~HTMLStartTagComment(); - property System::String^ TagName + property ::System::String^ TagName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::Collections::Generic::List^ Attributes + property ::System::Collections::Generic::List^ Attributes { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int AttributesCount @@ -708,8 +708,8 @@ namespace CppSharp { public: - HTMLEndTagComment(::CppSharp::CppParser::AST::HTMLEndTagComment* native); - HTMLEndTagComment(::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance); + HTMLEndTagComment(struct ::CppSharp::CppParser::AST::HTMLEndTagComment* native); + HTMLEndTagComment(struct ::CppSharp::CppParser::AST::HTMLEndTagComment* native, bool ownNativeInstance); static HTMLEndTagComment^ __CreateInstance(::System::IntPtr native); static HTMLEndTagComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); HTMLEndTagComment(); @@ -718,10 +718,10 @@ namespace CppSharp ~HTMLEndTagComment(); - property System::String^ TagName + property ::System::String^ TagName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -729,8 +729,8 @@ namespace CppSharp { public: - TextComment(::CppSharp::CppParser::AST::TextComment* native); - TextComment(::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance); + TextComment(struct ::CppSharp::CppParser::AST::TextComment* native); + TextComment(struct ::CppSharp::CppParser::AST::TextComment* native, bool ownNativeInstance); static TextComment^ __CreateInstance(::System::IntPtr native); static TextComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TextComment(); @@ -739,10 +739,10 @@ namespace CppSharp ~TextComment(); - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -750,15 +750,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::RawComment* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::RawComment* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - RawComment(::CppSharp::CppParser::AST::RawComment* native); - RawComment(::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance); + RawComment(struct ::CppSharp::CppParser::AST::RawComment* native); + RawComment(struct ::CppSharp::CppParser::AST::RawComment* native, bool ownNativeInstance); static RawComment^ __CreateInstance(::System::IntPtr native); static RawComment^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); RawComment(); @@ -773,16 +773,16 @@ namespace CppSharp void set(CppSharp::Parser::AST::RawCommentKind); } - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ BriefText + property ::System::String^ BriefText { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::FullComment^ FullCommentBlock diff --git a/src/CppParser/Bindings/CLI/CppParser.cpp b/src/CppParser/Bindings/CLI/CppParser.cpp index cbbf19a4..ef75811d 100644 --- a/src/CppParser/Bindings/CLI/CppParser.cpp +++ b/src/CppParser/Bindings/CLI/CppParser.cpp @@ -12,7 +12,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::CppParserOptions::CppParserOptions(::CppSharp::CppParser::CppParserOptions* native) +CppSharp::Parser::CppParserOptions::CppParserOptions(struct ::CppSharp::CppParser::CppParserOptions* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -20,10 +20,10 @@ CppSharp::Parser::CppParserOptions::CppParserOptions(::CppSharp::CppParser::CppP CppSharp::Parser::CppParserOptions^ CppSharp::Parser::CppParserOptions::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::CppParserOptions((::CppSharp::CppParser::CppParserOptions*) native.ToPointer()); + return gcnew ::CppSharp::Parser::CppParserOptions((struct ::CppSharp::CppParser::CppParserOptions*) native.ToPointer()); } -CppSharp::Parser::CppParserOptions::CppParserOptions(::CppSharp::CppParser::CppParserOptions* native, bool ownNativeInstance) +CppSharp::Parser::CppParserOptions::CppParserOptions(struct ::CppSharp::CppParser::CppParserOptions* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -31,7 +31,7 @@ CppSharp::Parser::CppParserOptions::CppParserOptions(::CppSharp::CppParser::CppP CppSharp::Parser::CppParserOptions^ CppSharp::Parser::CppParserOptions::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::CppParserOptions((::CppSharp::CppParser::CppParserOptions*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::CppParserOptions((struct ::CppSharp::CppParser::CppParserOptions*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::CppParserOptions::~CppParserOptions() @@ -42,140 +42,140 @@ CppSharp::Parser::CppParserOptions::~CppParserOptions() CppSharp::Parser::CppParserOptions::CppParserOptions() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::CppParserOptions(); + NativePtr = new struct ::CppSharp::CppParser::CppParserOptions(); } -System::String^ CppSharp::Parser::CppParserOptions::GetArguments(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArguments(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArguments(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddArguments(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddArguments(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addArguments(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::CppParserOptions::ClearArguments() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearArguments(); } -System::String^ CppSharp::Parser::CppParserOptions::GetSourceFiles(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetSourceFiles(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFiles(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFiles(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddSourceFiles(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddSourceFiles(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSourceFiles(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSourceFiles(__arg0); } void CppSharp::Parser::CppParserOptions::ClearSourceFiles() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSourceFiles(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSourceFiles(); } -System::String^ CppSharp::Parser::CppParserOptions::GetIncludeDirs(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetIncludeDirs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirs(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirs(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddIncludeDirs(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddIncludeDirs(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addIncludeDirs(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addIncludeDirs(__arg0); } void CppSharp::Parser::CppParserOptions::ClearIncludeDirs() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearIncludeDirs(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearIncludeDirs(); } -System::String^ CppSharp::Parser::CppParserOptions::GetSystemIncludeDirs(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetSystemIncludeDirs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirs(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirs(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddSystemIncludeDirs(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddSystemIncludeDirs(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSystemIncludeDirs(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSystemIncludeDirs(__arg0); } void CppSharp::Parser::CppParserOptions::ClearSystemIncludeDirs() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSystemIncludeDirs(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSystemIncludeDirs(); } -System::String^ CppSharp::Parser::CppParserOptions::GetDefines(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetDefines(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefines(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefines(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddDefines(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddDefines(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addDefines(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addDefines(__arg0); } void CppSharp::Parser::CppParserOptions::ClearDefines() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearDefines(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearDefines(); } -System::String^ CppSharp::Parser::CppParserOptions::GetUndefines(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetUndefines(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefines(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefines(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddUndefines(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddUndefines(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addUndefines(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addUndefines(__arg0); } void CppSharp::Parser::CppParserOptions::ClearUndefines() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearUndefines(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearUndefines(); } -System::String^ CppSharp::Parser::CppParserOptions::GetSupportedStdTypes(unsigned int i) +::System::String^ CppSharp::Parser::CppParserOptions::GetSupportedStdTypes(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedStdTypes(i); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedStdTypes(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::CppParserOptions::AddSupportedStdTypes(System::String^ s) +void CppSharp::Parser::CppParserOptions::AddSupportedStdTypes(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSupportedStdTypes(__arg0); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->addSupportedStdTypes(__arg0); } void CppSharp::Parser::CppParserOptions::ClearSupportedStdTypes() { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSupportedStdTypes(); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->clearSupportedStdTypes(); } CppSharp::Parser::CppParserOptions::CppParserOptions(CppSharp::Parser::CppParserOptions^ _0) @@ -183,24 +183,25 @@ CppSharp::Parser::CppParserOptions::CppParserOptions(CppSharp::Parser::CppParser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::CppParserOptions*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::CppParserOptions(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::CppParserOptions*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::CppParserOptions(__arg0); } -System::IntPtr CppSharp::Parser::CppParserOptions::__Instance::get() +::System::IntPtr CppSharp::Parser::CppParserOptions::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::CppParserOptions::__Instance::set(System::IntPtr object) +void CppSharp::Parser::CppParserOptions::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::CppParserOptions*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::CppParserOptions*)object.ToPointer(); } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::Arguments::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Arguments; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Arguments->Add(_marshalElement); @@ -208,21 +209,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__Arguments; } -void CppSharp::Parser::CppParserOptions::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::Arguments::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->Arguments = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::SourceFiles::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::SourceFiles::get() { - auto _tmp__SourceFiles = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SourceFiles) + auto _tmp__SourceFiles = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->SourceFiles; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__SourceFiles->Add(_marshalElement); @@ -230,21 +232,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__SourceFiles; } -void CppSharp::Parser::CppParserOptions::SourceFiles::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::SourceFiles::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SourceFiles = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->SourceFiles = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::IncludeDirs::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::IncludeDirs::get() { - auto _tmp__IncludeDirs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->IncludeDirs) + auto _tmp__IncludeDirs = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->IncludeDirs; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__IncludeDirs->Add(_marshalElement); @@ -252,21 +255,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__IncludeDirs; } -void CppSharp::Parser::CppParserOptions::IncludeDirs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::IncludeDirs::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->IncludeDirs = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->IncludeDirs = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::SystemIncludeDirs::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::SystemIncludeDirs::get() { - auto _tmp__SystemIncludeDirs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SystemIncludeDirs) + auto _tmp__SystemIncludeDirs = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->SystemIncludeDirs; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__SystemIncludeDirs->Add(_marshalElement); @@ -274,21 +278,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__SystemIncludeDirs; } -void CppSharp::Parser::CppParserOptions::SystemIncludeDirs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::SystemIncludeDirs::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SystemIncludeDirs = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->SystemIncludeDirs = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::Defines::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::Defines::get() { - auto _tmp__Defines = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Defines) + auto _tmp__Defines = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Defines; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Defines->Add(_marshalElement); @@ -296,21 +301,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__Defines; } -void CppSharp::Parser::CppParserOptions::Defines::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::Defines::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Defines = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->Defines = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::Undefines::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::Undefines::get() { - auto _tmp__Undefines = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Undefines) + auto _tmp__Undefines = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Undefines; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Undefines->Add(_marshalElement); @@ -318,21 +324,22 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__Undefines; } -void CppSharp::Parser::CppParserOptions::Undefines::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::Undefines::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->Undefines = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->Undefines = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::CppParserOptions::SupportedStdTypes::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::CppParserOptions::SupportedStdTypes::get() { - auto _tmp__SupportedStdTypes = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SupportedStdTypes) + auto _tmp__SupportedStdTypes = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->SupportedStdTypes; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__SupportedStdTypes->Add(_marshalElement); @@ -340,176 +347,176 @@ System::Collections::Generic::List^ CppSharp::Parser::CppParser return _tmp__SupportedStdTypes; } -void CppSharp::Parser::CppParserOptions::SupportedStdTypes::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::CppParserOptions::SupportedStdTypes::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->SupportedStdTypes = _tmpvalue; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->SupportedStdTypes = _tmpvalue; } CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::CppParserOptions::ASTContext::get() { - return (((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*)((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext); + return (NativePtr->ASTContext == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ASTContext((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr->ASTContext); } void CppSharp::Parser::CppParserOptions::ASTContext::set(CppSharp::Parser::AST::ASTContext^ value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext = (::CppSharp::CppParser::AST::ASTContext*)value->NativePtr; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->ASTContext = (struct ::CppSharp::CppParser::AST::ASTContext*)value->NativePtr; } int CppSharp::Parser::CppParserOptions::ToolSetToUse::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->toolSetToUse; + return NativePtr->toolSetToUse; } void CppSharp::Parser::CppParserOptions::ToolSetToUse::set(int value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->toolSetToUse = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->toolSetToUse = value; } -System::String^ CppSharp::Parser::CppParserOptions::TargetTriple::get() +::System::String^ CppSharp::Parser::CppParserOptions::TargetTriple::get() { - return clix::marshalString(((::CppSharp::CppParser::CppParserOptions*)NativePtr)->targetTriple); + return clix::marshalString(NativePtr->targetTriple); } -void CppSharp::Parser::CppParserOptions::TargetTriple::set(System::String^ value) +void CppSharp::Parser::CppParserOptions::TargetTriple::set(::System::String^ value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->targetTriple = clix::marshalString(value); + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->targetTriple = clix::marshalString(value); } bool CppSharp::Parser::CppParserOptions::NoStandardIncludes::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->noStandardIncludes; + return NativePtr->noStandardIncludes; } void CppSharp::Parser::CppParserOptions::NoStandardIncludes::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->noStandardIncludes = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->noStandardIncludes = value; } bool CppSharp::Parser::CppParserOptions::NoBuiltinIncludes::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->noBuiltinIncludes; + return NativePtr->noBuiltinIncludes; } void CppSharp::Parser::CppParserOptions::NoBuiltinIncludes::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->noBuiltinIncludes = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->noBuiltinIncludes = value; } bool CppSharp::Parser::CppParserOptions::MicrosoftMode::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->microsoftMode; + return NativePtr->microsoftMode; } void CppSharp::Parser::CppParserOptions::MicrosoftMode::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->microsoftMode = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->microsoftMode = value; } bool CppSharp::Parser::CppParserOptions::Verbose::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->verbose; + return NativePtr->verbose; } void CppSharp::Parser::CppParserOptions::Verbose::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->verbose = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->verbose = value; } bool CppSharp::Parser::CppParserOptions::UnityBuild::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->unityBuild; + return NativePtr->unityBuild; } void CppSharp::Parser::CppParserOptions::UnityBuild::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->unityBuild = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->unityBuild = value; } bool CppSharp::Parser::CppParserOptions::SkipPrivateDeclarations::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipPrivateDeclarations; + return NativePtr->skipPrivateDeclarations; } void CppSharp::Parser::CppParserOptions::SkipPrivateDeclarations::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipPrivateDeclarations = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipPrivateDeclarations = value; } bool CppSharp::Parser::CppParserOptions::SkipLayoutInfo::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipLayoutInfo; + return NativePtr->skipLayoutInfo; } void CppSharp::Parser::CppParserOptions::SkipLayoutInfo::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipLayoutInfo = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipLayoutInfo = value; } bool CppSharp::Parser::CppParserOptions::SkipFunctionBodies::get() { - return ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipFunctionBodies; + return NativePtr->skipFunctionBodies; } void CppSharp::Parser::CppParserOptions::SkipFunctionBodies::set(bool value) { - ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipFunctionBodies = value; + ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->skipFunctionBodies = value; } -System::String^ CppSharp::Parser::CppParserOptions::ClangVersion::get() +::System::String^ CppSharp::Parser::CppParserOptions::ClangVersion::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getClangVersion(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getClangVersion(); return clix::marshalString(__ret); } unsigned int CppSharp::Parser::CppParserOptions::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getArgumentsCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::SourceFilesCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFilesCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSourceFilesCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::IncludeDirsCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirsCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getIncludeDirsCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::SystemIncludeDirsCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirsCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSystemIncludeDirsCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::DefinesCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefinesCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getDefinesCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::UndefinesCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefinesCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getUndefinesCount(); return __ret; } unsigned int CppSharp::Parser::CppParserOptions::SupportedStdTypesCount::get() { - auto __ret = ((::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedStdTypesCount(); + auto __ret = ((struct ::CppSharp::CppParser::CppParserOptions*)NativePtr)->getSupportedStdTypesCount(); return __ret; } -CppSharp::Parser::LinkerOptions::LinkerOptions(::CppSharp::CppParser::LinkerOptions* native) +CppSharp::Parser::LinkerOptions::LinkerOptions(struct ::CppSharp::CppParser::LinkerOptions* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -517,10 +524,10 @@ CppSharp::Parser::LinkerOptions::LinkerOptions(::CppSharp::CppParser::LinkerOpti CppSharp::Parser::LinkerOptions^ CppSharp::Parser::LinkerOptions::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::LinkerOptions((::CppSharp::CppParser::LinkerOptions*) native.ToPointer()); + return gcnew ::CppSharp::Parser::LinkerOptions((struct ::CppSharp::CppParser::LinkerOptions*) native.ToPointer()); } -CppSharp::Parser::LinkerOptions::LinkerOptions(::CppSharp::CppParser::LinkerOptions* native, bool ownNativeInstance) +CppSharp::Parser::LinkerOptions::LinkerOptions(struct ::CppSharp::CppParser::LinkerOptions* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -528,7 +535,7 @@ CppSharp::Parser::LinkerOptions::LinkerOptions(::CppSharp::CppParser::LinkerOpti CppSharp::Parser::LinkerOptions^ CppSharp::Parser::LinkerOptions::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::LinkerOptions((::CppSharp::CppParser::LinkerOptions*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::LinkerOptions((struct ::CppSharp::CppParser::LinkerOptions*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::LinkerOptions::~LinkerOptions() @@ -539,64 +546,64 @@ CppSharp::Parser::LinkerOptions::~LinkerOptions() CppSharp::Parser::LinkerOptions::LinkerOptions() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::LinkerOptions(); + NativePtr = new struct ::CppSharp::CppParser::LinkerOptions(); } -System::String^ CppSharp::Parser::LinkerOptions::GetArguments(unsigned int i) +::System::String^ CppSharp::Parser::LinkerOptions::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getArguments(i); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getArguments(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::LinkerOptions::AddArguments(System::String^ s) +void CppSharp::Parser::LinkerOptions::AddArguments(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->addArguments(__arg0); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::LinkerOptions::ClearArguments() { - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearArguments(); } -System::String^ CppSharp::Parser::LinkerOptions::GetLibraryDirs(unsigned int i) +::System::String^ CppSharp::Parser::LinkerOptions::GetLibraryDirs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraryDirs(i); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraryDirs(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::LinkerOptions::AddLibraryDirs(System::String^ s) +void CppSharp::Parser::LinkerOptions::AddLibraryDirs(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->addLibraryDirs(__arg0); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->addLibraryDirs(__arg0); } void CppSharp::Parser::LinkerOptions::ClearLibraryDirs() { - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearLibraryDirs(); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearLibraryDirs(); } -System::String^ CppSharp::Parser::LinkerOptions::GetLibraries(unsigned int i) +::System::String^ CppSharp::Parser::LinkerOptions::GetLibraries(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraries(i); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraries(i); if (__ret == nullptr) return nullptr; return (__ret == 0 ? nullptr : clix::marshalString(__ret)); } -void CppSharp::Parser::LinkerOptions::AddLibraries(System::String^ s) +void CppSharp::Parser::LinkerOptions::AddLibraries(::System::String^ s) { auto ___arg0 = clix::marshalString(s); auto __arg0 = ___arg0.c_str(); - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->addLibraries(__arg0); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->addLibraries(__arg0); } void CppSharp::Parser::LinkerOptions::ClearLibraries() { - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearLibraries(); + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->clearLibraries(); } CppSharp::Parser::LinkerOptions::LinkerOptions(CppSharp::Parser::LinkerOptions^ _0) @@ -604,24 +611,25 @@ CppSharp::Parser::LinkerOptions::LinkerOptions(CppSharp::Parser::LinkerOptions^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::LinkerOptions*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::LinkerOptions(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::LinkerOptions*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::LinkerOptions(__arg0); } -System::IntPtr CppSharp::Parser::LinkerOptions::__Instance::get() +::System::IntPtr CppSharp::Parser::LinkerOptions::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::LinkerOptions::__Instance::set(System::IntPtr object) +void CppSharp::Parser::LinkerOptions::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::LinkerOptions*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::LinkerOptions*)object.ToPointer(); } -System::Collections::Generic::List^ CppSharp::Parser::LinkerOptions::Arguments::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::LinkerOptions::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Arguments; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Arguments->Add(_marshalElement); @@ -629,21 +637,22 @@ System::Collections::Generic::List^ CppSharp::Parser::LinkerOpt return _tmp__Arguments; } -void CppSharp::Parser::LinkerOptions::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::LinkerOptions::Arguments::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->Arguments = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::LinkerOptions::LibraryDirs::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::LinkerOptions::LibraryDirs::get() { - auto _tmp__LibraryDirs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->LibraryDirs) + auto _tmp__LibraryDirs = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->LibraryDirs; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__LibraryDirs->Add(_marshalElement); @@ -651,21 +660,22 @@ System::Collections::Generic::List^ CppSharp::Parser::LinkerOpt return _tmp__LibraryDirs; } -void CppSharp::Parser::LinkerOptions::LibraryDirs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::LinkerOptions::LibraryDirs::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->LibraryDirs = _tmpvalue; + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->LibraryDirs = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::LinkerOptions::Libraries::get() +::System::Collections::Generic::List<::System::String^>^ CppSharp::Parser::LinkerOptions::Libraries::get() { - auto _tmp__Libraries = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->Libraries) + auto _tmp__Libraries = gcnew ::System::Collections::Generic::List<::System::String^>(); + auto __list0 = NativePtr->Libraries; + for(auto _element : __list0) { auto _marshalElement = clix::marshalString(_element); _tmp__Libraries->Add(_marshalElement); @@ -673,36 +683,36 @@ System::Collections::Generic::List^ CppSharp::Parser::LinkerOpt return _tmp__Libraries; } -void CppSharp::Parser::LinkerOptions::Libraries::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::LinkerOptions::Libraries::set(::System::Collections::Generic::List<::System::String^>^ value) { auto _tmpvalue = std::vector<::std::string>(); - for each(System::String^ _element in value) + for each(::System::String^ _element in value) { auto _marshalElement = clix::marshalString(_element); _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->Libraries = _tmpvalue; + ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->Libraries = _tmpvalue; } unsigned int CppSharp::Parser::LinkerOptions::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getArgumentsCount(); return __ret; } unsigned int CppSharp::Parser::LinkerOptions::LibraryDirsCount::get() { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraryDirsCount(); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibraryDirsCount(); return __ret; } unsigned int CppSharp::Parser::LinkerOptions::LibrariesCount::get() { - auto __ret = ((::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibrariesCount(); + auto __ret = ((struct ::CppSharp::CppParser::LinkerOptions*)NativePtr)->getLibrariesCount(); return __ret; } -CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(::CppSharp::CppParser::ParserDiagnostic* native) +CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(struct ::CppSharp::CppParser::ParserDiagnostic* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -710,10 +720,10 @@ CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(::CppSharp::CppParser::Pars CppSharp::Parser::ParserDiagnostic^ CppSharp::Parser::ParserDiagnostic::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::ParserDiagnostic((::CppSharp::CppParser::ParserDiagnostic*) native.ToPointer()); + return gcnew ::CppSharp::Parser::ParserDiagnostic((struct ::CppSharp::CppParser::ParserDiagnostic*) native.ToPointer()); } -CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(::CppSharp::CppParser::ParserDiagnostic* native, bool ownNativeInstance) +CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(struct ::CppSharp::CppParser::ParserDiagnostic* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -721,7 +731,7 @@ CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(::CppSharp::CppParser::Pars CppSharp::Parser::ParserDiagnostic^ CppSharp::Parser::ParserDiagnostic::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::ParserDiagnostic((::CppSharp::CppParser::ParserDiagnostic*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::ParserDiagnostic((struct ::CppSharp::CppParser::ParserDiagnostic*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::ParserDiagnostic::~ParserDiagnostic() @@ -732,7 +742,7 @@ CppSharp::Parser::ParserDiagnostic::~ParserDiagnostic() CppSharp::Parser::ParserDiagnostic::ParserDiagnostic() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::ParserDiagnostic(); + NativePtr = new struct ::CppSharp::CppParser::ParserDiagnostic(); } CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(CppSharp::Parser::ParserDiagnostic^ _0) @@ -740,71 +750,71 @@ CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(CppSharp::Parser::ParserDia __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::ParserDiagnostic*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::ParserDiagnostic(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::ParserDiagnostic*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::ParserDiagnostic(__arg0); } -System::IntPtr CppSharp::Parser::ParserDiagnostic::__Instance::get() +::System::IntPtr CppSharp::Parser::ParserDiagnostic::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::ParserDiagnostic::__Instance::set(System::IntPtr object) +void CppSharp::Parser::ParserDiagnostic::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::ParserDiagnostic*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::ParserDiagnostic*)object.ToPointer(); } -System::String^ CppSharp::Parser::ParserDiagnostic::FileName::get() +::System::String^ CppSharp::Parser::ParserDiagnostic::FileName::get() { - return clix::marshalString(((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->fileName); + return clix::marshalString(NativePtr->fileName); } -void CppSharp::Parser::ParserDiagnostic::FileName::set(System::String^ value) +void CppSharp::Parser::ParserDiagnostic::FileName::set(::System::String^ value) { - ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->fileName = clix::marshalString(value); + ((struct ::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->fileName = clix::marshalString(value); } -System::String^ CppSharp::Parser::ParserDiagnostic::Message::get() +::System::String^ CppSharp::Parser::ParserDiagnostic::Message::get() { - return clix::marshalString(((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->message); + return clix::marshalString(NativePtr->message); } -void CppSharp::Parser::ParserDiagnostic::Message::set(System::String^ value) +void CppSharp::Parser::ParserDiagnostic::Message::set(::System::String^ value) { - ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->message = clix::marshalString(value); + ((struct ::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->message = clix::marshalString(value); } CppSharp::Parser::ParserDiagnosticLevel CppSharp::Parser::ParserDiagnostic::Level::get() { - return (CppSharp::Parser::ParserDiagnosticLevel)((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->level; + return (CppSharp::Parser::ParserDiagnosticLevel)NativePtr->level; } void CppSharp::Parser::ParserDiagnostic::Level::set(CppSharp::Parser::ParserDiagnosticLevel value) { - ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->level = (::CppSharp::CppParser::ParserDiagnosticLevel)value; + ((struct ::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->level = (enum ::CppSharp::CppParser::ParserDiagnosticLevel)value; } int CppSharp::Parser::ParserDiagnostic::LineNumber::get() { - return ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->lineNumber; + return NativePtr->lineNumber; } void CppSharp::Parser::ParserDiagnostic::LineNumber::set(int value) { - ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->lineNumber = value; + ((struct ::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->lineNumber = value; } int CppSharp::Parser::ParserDiagnostic::ColumnNumber::get() { - return ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->columnNumber; + return NativePtr->columnNumber; } void CppSharp::Parser::ParserDiagnostic::ColumnNumber::set(int value) { - ((::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->columnNumber = value; + ((struct ::CppSharp::CppParser::ParserDiagnostic*)NativePtr)->columnNumber = value; } -CppSharp::Parser::ParserResult::ParserResult(::CppSharp::CppParser::ParserResult* native) +CppSharp::Parser::ParserResult::ParserResult(struct ::CppSharp::CppParser::ParserResult* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -812,10 +822,10 @@ CppSharp::Parser::ParserResult::ParserResult(::CppSharp::CppParser::ParserResult CppSharp::Parser::ParserResult^ CppSharp::Parser::ParserResult::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*) native.ToPointer()); + return gcnew ::CppSharp::Parser::ParserResult((struct ::CppSharp::CppParser::ParserResult*) native.ToPointer()); } -CppSharp::Parser::ParserResult::ParserResult(::CppSharp::CppParser::ParserResult* native, bool ownNativeInstance) +CppSharp::Parser::ParserResult::ParserResult(struct ::CppSharp::CppParser::ParserResult* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -823,7 +833,7 @@ CppSharp::Parser::ParserResult::ParserResult(::CppSharp::CppParser::ParserResult CppSharp::Parser::ParserResult^ CppSharp::Parser::ParserResult::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::ParserResult((struct ::CppSharp::CppParser::ParserResult*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::ParserResult::~ParserResult() @@ -834,7 +844,7 @@ CppSharp::Parser::ParserResult::~ParserResult() CppSharp::Parser::ParserResult::ParserResult() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::ParserResult(); + NativePtr = new struct ::CppSharp::CppParser::ParserResult(); } CppSharp::Parser::ParserResult::ParserResult(CppSharp::Parser::ParserResult^ _0) @@ -842,140 +852,142 @@ CppSharp::Parser::ParserResult::ParserResult(CppSharp::Parser::ParserResult^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::ParserResult*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::ParserResult(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::ParserResult*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::ParserResult(__arg0); } CppSharp::Parser::ParserDiagnostic^ CppSharp::Parser::ParserResult::GetDiagnostics(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::ParserResult*)NativePtr)->getDiagnostics(i); - auto ____ret = new ::CppSharp::CppParser::ParserDiagnostic(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserDiagnostic((::CppSharp::CppParser::ParserDiagnostic*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->getDiagnostics(i); + auto ____ret = new struct ::CppSharp::CppParser::ParserDiagnostic(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserDiagnostic((struct ::CppSharp::CppParser::ParserDiagnostic*)____ret, true); } void CppSharp::Parser::ParserResult::AddDiagnostics(CppSharp::Parser::ParserDiagnostic^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::ParserDiagnostic*)s->NativePtr; - ((::CppSharp::CppParser::ParserResult*)NativePtr)->addDiagnostics(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::ParserDiagnostic*)s->NativePtr; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->addDiagnostics(__arg0); } void CppSharp::Parser::ParserResult::ClearDiagnostics() { - ((::CppSharp::CppParser::ParserResult*)NativePtr)->clearDiagnostics(); + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->clearDiagnostics(); } CppSharp::Parser::AST::NativeLibrary^ CppSharp::Parser::ParserResult::GetLibraries(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::ParserResult*)NativePtr)->getLibraries(i); + auto __ret = ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->getLibraries(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::NativeLibrary((struct ::CppSharp::CppParser::AST::NativeLibrary*)__ret); } void CppSharp::Parser::ParserResult::AddLibraries(CppSharp::Parser::AST::NativeLibrary^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::NativeLibrary*)s->NativePtr; - ((::CppSharp::CppParser::ParserResult*)NativePtr)->addLibraries(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::NativeLibrary*)s->NativePtr; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->addLibraries(__arg0); } void CppSharp::Parser::ParserResult::ClearLibraries() { - ((::CppSharp::CppParser::ParserResult*)NativePtr)->clearLibraries(); + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->clearLibraries(); } -System::IntPtr CppSharp::Parser::ParserResult::__Instance::get() +::System::IntPtr CppSharp::Parser::ParserResult::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::ParserResult::__Instance::set(System::IntPtr object) +void CppSharp::Parser::ParserResult::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::ParserResult*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::ParserResult*)object.ToPointer(); } CppSharp::Parser::ParserResultKind CppSharp::Parser::ParserResult::Kind::get() { - return (CppSharp::Parser::ParserResultKind)((::CppSharp::CppParser::ParserResult*)NativePtr)->kind; + return (CppSharp::Parser::ParserResultKind)NativePtr->kind; } void CppSharp::Parser::ParserResult::Kind::set(CppSharp::Parser::ParserResultKind value) { - ((::CppSharp::CppParser::ParserResult*)NativePtr)->kind = (::CppSharp::CppParser::ParserResultKind)value; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->kind = (enum ::CppSharp::CppParser::ParserResultKind)value; } -System::Collections::Generic::List^ CppSharp::Parser::ParserResult::Diagnostics::get() +::System::Collections::Generic::List^ CppSharp::Parser::ParserResult::Diagnostics::get() { - auto _tmp__Diagnostics = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::ParserResult*)NativePtr)->Diagnostics) + auto _tmp__Diagnostics = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Diagnostics; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::ParserDiagnostic(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserDiagnostic((::CppSharp::CppParser::ParserDiagnostic*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::ParserDiagnostic(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserDiagnostic((struct ::CppSharp::CppParser::ParserDiagnostic*)___element, true); _tmp__Diagnostics->Add(_marshalElement); } return _tmp__Diagnostics; } -void CppSharp::Parser::ParserResult::Diagnostics::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::ParserResult::Diagnostics::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::ParserDiagnostic>(); for each(CppSharp::Parser::ParserDiagnostic^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::ParserDiagnostic*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::ParserDiagnostic*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::ParserResult*)NativePtr)->Diagnostics = _tmpvalue; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->Diagnostics = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::ParserResult::Libraries::get() +::System::Collections::Generic::List^ CppSharp::Parser::ParserResult::Libraries::get() { - auto _tmp__Libraries = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::ParserResult*)NativePtr)->Libraries) + auto _tmp__Libraries = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Libraries; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::NativeLibrary((::CppSharp::CppParser::AST::NativeLibrary*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::NativeLibrary((struct ::CppSharp::CppParser::AST::NativeLibrary*)_element); _tmp__Libraries->Add(_marshalElement); } return _tmp__Libraries; } -void CppSharp::Parser::ParserResult::Libraries::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::ParserResult::Libraries::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::NativeLibrary*>(); for each(CppSharp::Parser::AST::NativeLibrary^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::NativeLibrary*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::NativeLibrary*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::ParserResult*)NativePtr)->Libraries = _tmpvalue; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->Libraries = _tmpvalue; } CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ParserResult::TargetInfo::get() { - return (((::CppSharp::CppParser::ParserResult*)NativePtr)->targetInfo == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*)((::CppSharp::CppParser::ParserResult*)NativePtr)->targetInfo); + return (NativePtr->targetInfo == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserTargetInfo((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr->targetInfo); } void CppSharp::Parser::ParserResult::TargetInfo::set(CppSharp::Parser::ParserTargetInfo^ value) { - ((::CppSharp::CppParser::ParserResult*)NativePtr)->targetInfo = (::CppSharp::CppParser::ParserTargetInfo*)value->NativePtr; + ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->targetInfo = (struct ::CppSharp::CppParser::ParserTargetInfo*)value->NativePtr; } unsigned int CppSharp::Parser::ParserResult::DiagnosticsCount::get() { - auto __ret = ((::CppSharp::CppParser::ParserResult*)NativePtr)->getDiagnosticsCount(); + auto __ret = ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->getDiagnosticsCount(); return __ret; } unsigned int CppSharp::Parser::ParserResult::LibrariesCount::get() { - auto __ret = ((::CppSharp::CppParser::ParserResult*)NativePtr)->getLibrariesCount(); + auto __ret = ((struct ::CppSharp::CppParser::ParserResult*)NativePtr)->getLibrariesCount(); return __ret; } -CppSharp::Parser::ClangParser::ClangParser(::CppSharp::CppParser::ClangParser* native) +CppSharp::Parser::ClangParser::ClangParser(struct ::CppSharp::CppParser::ClangParser* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -983,10 +995,10 @@ CppSharp::Parser::ClangParser::ClangParser(::CppSharp::CppParser::ClangParser* n CppSharp::Parser::ClangParser^ CppSharp::Parser::ClangParser::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::ClangParser((::CppSharp::CppParser::ClangParser*) native.ToPointer()); + return gcnew ::CppSharp::Parser::ClangParser((struct ::CppSharp::CppParser::ClangParser*) native.ToPointer()); } -CppSharp::Parser::ClangParser::ClangParser(::CppSharp::CppParser::ClangParser* native, bool ownNativeInstance) +CppSharp::Parser::ClangParser::ClangParser(struct ::CppSharp::CppParser::ClangParser* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -994,7 +1006,7 @@ CppSharp::Parser::ClangParser::ClangParser(::CppSharp::CppParser::ClangParser* n CppSharp::Parser::ClangParser^ CppSharp::Parser::ClangParser::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::ClangParser((::CppSharp::CppParser::ClangParser*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::ClangParser((struct ::CppSharp::CppParser::ClangParser*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::ClangParser::~ClangParser() @@ -1004,24 +1016,24 @@ CppSharp::Parser::ClangParser::~ClangParser() CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseHeader(CppSharp::Parser::CppParserOptions^ Opts) { - auto __arg0 = (::CppSharp::CppParser::CppParserOptions*)Opts->NativePtr; + auto __arg0 = (struct ::CppSharp::CppParser::CppParserOptions*)Opts->NativePtr; auto __ret = ::CppSharp::CppParser::ClangParser::ParseHeader(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserResult((struct ::CppSharp::CppParser::ParserResult*)__ret); } CppSharp::Parser::ParserResult^ CppSharp::Parser::ClangParser::ParseLibrary(CppSharp::Parser::LinkerOptions^ Opts) { - auto __arg0 = (::CppSharp::CppParser::LinkerOptions*)Opts->NativePtr; + auto __arg0 = (struct ::CppSharp::CppParser::LinkerOptions*)Opts->NativePtr; auto __ret = ::CppSharp::CppParser::ClangParser::ParseLibrary(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserResult((::CppSharp::CppParser::ParserResult*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::ParserResult((struct ::CppSharp::CppParser::ParserResult*)__ret); } CppSharp::Parser::ClangParser::ClangParser() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::ClangParser(); + NativePtr = new struct ::CppSharp::CppParser::ClangParser(); } CppSharp::Parser::ClangParser::ClangParser(CppSharp::Parser::ClangParser^ _0) @@ -1029,16 +1041,16 @@ CppSharp::Parser::ClangParser::ClangParser(CppSharp::Parser::ClangParser^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::ClangParser*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::ClangParser(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::ClangParser*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::ClangParser(__arg0); } -System::IntPtr CppSharp::Parser::ClangParser::__Instance::get() +::System::IntPtr CppSharp::Parser::ClangParser::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::ClangParser::__Instance::set(System::IntPtr object) +void CppSharp::Parser::ClangParser::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::ClangParser*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::ClangParser*)object.ToPointer(); } diff --git a/src/CppParser/Bindings/CLI/CppParser.h b/src/CppParser/Bindings/CLI/CppParser.h index 12a6e641..68277a7c 100644 --- a/src/CppParser/Bindings/CLI/CppParser.h +++ b/src/CppParser/Bindings/CLI/CppParser.h @@ -64,15 +64,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::CppParserOptions* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::CppParserOptions* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - CppParserOptions(::CppSharp::CppParser::CppParserOptions* native); - CppParserOptions(::CppSharp::CppParser::CppParserOptions* native, bool ownNativeInstance); + CppParserOptions(struct ::CppSharp::CppParser::CppParserOptions* native); + CppParserOptions(struct ::CppSharp::CppParser::CppParserOptions* native, bool ownNativeInstance); static CppParserOptions^ __CreateInstance(::System::IntPtr native); static CppParserOptions^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CppParserOptions(); @@ -81,46 +81,46 @@ namespace CppSharp ~CppParserOptions(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List<::System::String^>^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ SourceFiles + property ::System::Collections::Generic::List<::System::String^>^ SourceFiles { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ IncludeDirs + property ::System::Collections::Generic::List<::System::String^>^ IncludeDirs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ SystemIncludeDirs + property ::System::Collections::Generic::List<::System::String^>^ SystemIncludeDirs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ Defines + property ::System::Collections::Generic::List<::System::String^>^ Defines { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ Undefines + property ::System::Collections::Generic::List<::System::String^>^ Undefines { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ SupportedStdTypes + property ::System::Collections::Generic::List<::System::String^>^ SupportedStdTypes { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } property CppSharp::Parser::AST::ASTContext^ ASTContext @@ -135,10 +135,10 @@ namespace CppSharp void set(int); } - property System::String^ TargetTriple + property ::System::String^ TargetTriple { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property bool NoStandardIncludes @@ -189,9 +189,9 @@ namespace CppSharp void set(bool); } - property System::String^ ClangVersion + property ::System::String^ ClangVersion { - System::String^ get(); + ::System::String^ get(); } property unsigned int ArgumentsCount @@ -229,45 +229,45 @@ namespace CppSharp unsigned int get(); } - System::String^ GetArguments(unsigned int i); + ::System::String^ GetArguments(unsigned int i); - void AddArguments(System::String^ s); + void AddArguments(::System::String^ s); void ClearArguments(); - System::String^ GetSourceFiles(unsigned int i); + ::System::String^ GetSourceFiles(unsigned int i); - void AddSourceFiles(System::String^ s); + void AddSourceFiles(::System::String^ s); void ClearSourceFiles(); - System::String^ GetIncludeDirs(unsigned int i); + ::System::String^ GetIncludeDirs(unsigned int i); - void AddIncludeDirs(System::String^ s); + void AddIncludeDirs(::System::String^ s); void ClearIncludeDirs(); - System::String^ GetSystemIncludeDirs(unsigned int i); + ::System::String^ GetSystemIncludeDirs(unsigned int i); - void AddSystemIncludeDirs(System::String^ s); + void AddSystemIncludeDirs(::System::String^ s); void ClearSystemIncludeDirs(); - System::String^ GetDefines(unsigned int i); + ::System::String^ GetDefines(unsigned int i); - void AddDefines(System::String^ s); + void AddDefines(::System::String^ s); void ClearDefines(); - System::String^ GetUndefines(unsigned int i); + ::System::String^ GetUndefines(unsigned int i); - void AddUndefines(System::String^ s); + void AddUndefines(::System::String^ s); void ClearUndefines(); - System::String^ GetSupportedStdTypes(unsigned int i); + ::System::String^ GetSupportedStdTypes(unsigned int i); - void AddSupportedStdTypes(System::String^ s); + void AddSupportedStdTypes(::System::String^ s); void ClearSupportedStdTypes(); @@ -280,15 +280,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::LinkerOptions* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::LinkerOptions* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - LinkerOptions(::CppSharp::CppParser::LinkerOptions* native); - LinkerOptions(::CppSharp::CppParser::LinkerOptions* native, bool ownNativeInstance); + LinkerOptions(struct ::CppSharp::CppParser::LinkerOptions* native); + LinkerOptions(struct ::CppSharp::CppParser::LinkerOptions* native, bool ownNativeInstance); static LinkerOptions^ __CreateInstance(::System::IntPtr native); static LinkerOptions^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); LinkerOptions(); @@ -297,22 +297,22 @@ namespace CppSharp ~LinkerOptions(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List<::System::String^>^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ LibraryDirs + property ::System::Collections::Generic::List<::System::String^>^ LibraryDirs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } - property System::Collections::Generic::List^ Libraries + property ::System::Collections::Generic::List<::System::String^>^ Libraries { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List<::System::String^>^ get(); + void set(::System::Collections::Generic::List<::System::String^>^); } property unsigned int ArgumentsCount @@ -330,21 +330,21 @@ namespace CppSharp unsigned int get(); } - System::String^ GetArguments(unsigned int i); + ::System::String^ GetArguments(unsigned int i); - void AddArguments(System::String^ s); + void AddArguments(::System::String^ s); void ClearArguments(); - System::String^ GetLibraryDirs(unsigned int i); + ::System::String^ GetLibraryDirs(unsigned int i); - void AddLibraryDirs(System::String^ s); + void AddLibraryDirs(::System::String^ s); void ClearLibraryDirs(); - System::String^ GetLibraries(unsigned int i); + ::System::String^ GetLibraries(unsigned int i); - void AddLibraries(System::String^ s); + void AddLibraries(::System::String^ s); void ClearLibraries(); @@ -357,15 +357,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::ParserDiagnostic* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::ParserDiagnostic* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ParserDiagnostic(::CppSharp::CppParser::ParserDiagnostic* native); - ParserDiagnostic(::CppSharp::CppParser::ParserDiagnostic* native, bool ownNativeInstance); + ParserDiagnostic(struct ::CppSharp::CppParser::ParserDiagnostic* native); + ParserDiagnostic(struct ::CppSharp::CppParser::ParserDiagnostic* native, bool ownNativeInstance); static ParserDiagnostic^ __CreateInstance(::System::IntPtr native); static ParserDiagnostic^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParserDiagnostic(); @@ -374,16 +374,16 @@ namespace CppSharp ~ParserDiagnostic(); - property System::String^ FileName + property ::System::String^ FileName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Message + property ::System::String^ Message { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::ParserDiagnosticLevel Level @@ -413,15 +413,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::ParserResult* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::ParserResult* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ParserResult(::CppSharp::CppParser::ParserResult* native); - ParserResult(::CppSharp::CppParser::ParserResult* native, bool ownNativeInstance); + ParserResult(struct ::CppSharp::CppParser::ParserResult* native); + ParserResult(struct ::CppSharp::CppParser::ParserResult* native, bool ownNativeInstance); static ParserResult^ __CreateInstance(::System::IntPtr native); static ParserResult^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParserResult(); @@ -436,16 +436,16 @@ namespace CppSharp void set(CppSharp::Parser::ParserResultKind); } - property System::Collections::Generic::List^ Diagnostics + property ::System::Collections::Generic::List^ Diagnostics { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Libraries + property ::System::Collections::Generic::List^ Libraries { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::ParserTargetInfo^ TargetInfo @@ -485,15 +485,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::ClangParser* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::ClangParser* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ClangParser(::CppSharp::CppParser::ClangParser* native); - ClangParser(::CppSharp::CppParser::ClangParser* native, bool ownNativeInstance); + ClangParser(struct ::CppSharp::CppParser::ClangParser* native); + ClangParser(struct ::CppSharp::CppParser::ClangParser* native, bool ownNativeInstance); static ClangParser^ __CreateInstance(::System::IntPtr native); static ClangParser^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ClangParser(); diff --git a/src/CppParser/Bindings/CLI/Decl.cpp b/src/CppParser/Bindings/CLI/Decl.cpp index aa6c2c5b..c5fcc71f 100644 --- a/src/CppParser/Bindings/CLI/Decl.cpp +++ b/src/CppParser/Bindings/CLI/Decl.cpp @@ -13,7 +13,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::AST::Declaration::Declaration(::CppSharp::CppParser::AST::Declaration* native) +CppSharp::Parser::AST::Declaration::Declaration(struct ::CppSharp::CppParser::AST::Declaration* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -21,10 +21,10 @@ CppSharp::Parser::AST::Declaration::Declaration(::CppSharp::CppParser::AST::Decl CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*) native.ToPointer()); } -CppSharp::Parser::AST::Declaration::Declaration(::CppSharp::CppParser::AST::Declaration* native, bool ownNativeInstance) +CppSharp::Parser::AST::Declaration::Declaration(struct ::CppSharp::CppParser::AST::Declaration* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -32,7 +32,7 @@ CppSharp::Parser::AST::Declaration::Declaration(::CppSharp::CppParser::AST::Decl CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Declaration::~Declaration() @@ -43,8 +43,8 @@ CppSharp::Parser::AST::Declaration::~Declaration() CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::DeclarationKind kind) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::Declaration(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::Declaration(__arg0); } CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::Declaration^ _0) @@ -52,344 +52,346 @@ CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::Declarati __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Declaration*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Declaration(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Declaration*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Declaration(__arg0); } CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::Declaration::GetPreprocessedEntities(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntities(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntities(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::PreprocessedEntity((struct ::CppSharp::CppParser::AST::PreprocessedEntity*)__ret); } void CppSharp::Parser::AST::Declaration::AddPreprocessedEntities(CppSharp::Parser::AST::PreprocessedEntity^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::PreprocessedEntity*)s->NativePtr; - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->addPreprocessedEntities(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::PreprocessedEntity*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->addPreprocessedEntities(__arg0); } void CppSharp::Parser::AST::Declaration::ClearPreprocessedEntities() { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->clearPreprocessedEntities(); + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->clearPreprocessedEntities(); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::GetRedeclarations(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getRedeclarations(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->getRedeclarations(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)__ret); } void CppSharp::Parser::AST::Declaration::AddRedeclarations(CppSharp::Parser::AST::Declaration^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Declaration*)s->NativePtr; - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->addRedeclarations(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Declaration*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->addRedeclarations(__arg0); } void CppSharp::Parser::AST::Declaration::ClearRedeclarations() { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->clearRedeclarations(); + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->clearRedeclarations(); } CppSharp::Parser::AST::Declaration::operator CppSharp::Parser::AST::Declaration^(CppSharp::Parser::AST::DeclarationKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; auto __ret = (::CppSharp::CppParser::AST::Declaration) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Declaration(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Declaration(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)____ret, true); } -System::IntPtr CppSharp::Parser::AST::Declaration::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::Declaration::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::Declaration::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::Declaration::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::Declaration*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::Declaration*)object.ToPointer(); } CppSharp::Parser::AST::DeclarationKind CppSharp::Parser::AST::Declaration::Kind::get() { - return (CppSharp::Parser::AST::DeclarationKind)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->kind; + return (CppSharp::Parser::AST::DeclarationKind)NativePtr->kind; } void CppSharp::Parser::AST::Declaration::Kind::set(CppSharp::Parser::AST::DeclarationKind value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->kind = (::CppSharp::CppParser::AST::DeclarationKind)value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::DeclarationKind)value; } int CppSharp::Parser::AST::Declaration::AlignAs::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->alignAs; + return NativePtr->alignAs; } void CppSharp::Parser::AST::Declaration::AlignAs::set(int value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->alignAs = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->alignAs = value; } int CppSharp::Parser::AST::Declaration::MaxFieldAlignment::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->maxFieldAlignment; + return NativePtr->maxFieldAlignment; } void CppSharp::Parser::AST::Declaration::MaxFieldAlignment::set(int value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->maxFieldAlignment = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->maxFieldAlignment = value; } CppSharp::Parser::AST::AccessSpecifier CppSharp::Parser::AST::Declaration::Access::get() { - return (CppSharp::Parser::AST::AccessSpecifier)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->access; + return (CppSharp::Parser::AST::AccessSpecifier)NativePtr->access; } void CppSharp::Parser::AST::Declaration::Access::set(CppSharp::Parser::AST::AccessSpecifier value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->access = (::CppSharp::CppParser::AST::AccessSpecifier)value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->access = (enum ::CppSharp::CppParser::AST::AccessSpecifier)value; } CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::Declaration::Namespace::get() { - return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_namespace == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_namespace); + return (NativePtr->_namespace == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclarationContext((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr->_namespace); } void CppSharp::Parser::AST::Declaration::Namespace::set(CppSharp::Parser::AST::DeclarationContext^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->_namespace = (::CppSharp::CppParser::AST::DeclarationContext*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->_namespace = (struct ::CppSharp::CppParser::AST::DeclarationContext*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Declaration::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Declaration*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->location); } void CppSharp::Parser::AST::Declaration::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->location = _marshal0; } int CppSharp::Parser::AST::Declaration::LineNumberStart::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberStart; + return NativePtr->lineNumberStart; } void CppSharp::Parser::AST::Declaration::LineNumberStart::set(int value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberStart = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberStart = value; } int CppSharp::Parser::AST::Declaration::LineNumberEnd::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberEnd; + return NativePtr->lineNumberEnd; } void CppSharp::Parser::AST::Declaration::LineNumberEnd::set(int value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberEnd = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->lineNumberEnd = value; } -System::String^ CppSharp::Parser::AST::Declaration::Name::get() +::System::String^ CppSharp::Parser::AST::Declaration::Name::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Declaration*)NativePtr)->name); + return clix::marshalString(NativePtr->name); } -void CppSharp::Parser::AST::Declaration::Name::set(System::String^ value) +void CppSharp::Parser::AST::Declaration::Name::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->name = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->name = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::Declaration::USR::get() +::System::String^ CppSharp::Parser::AST::Declaration::USR::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Declaration*)NativePtr)->USR); + return clix::marshalString(NativePtr->USR); } -void CppSharp::Parser::AST::Declaration::USR::set(System::String^ value) +void CppSharp::Parser::AST::Declaration::USR::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->USR = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->USR = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::Declaration::DebugText::get() +::System::String^ CppSharp::Parser::AST::Declaration::DebugText::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Declaration*)NativePtr)->debugText); + return clix::marshalString(NativePtr->debugText); } -void CppSharp::Parser::AST::Declaration::DebugText::set(System::String^ value) +void CppSharp::Parser::AST::Declaration::DebugText::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->debugText = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->debugText = clix::marshalString(value); } bool CppSharp::Parser::AST::Declaration::IsIncomplete::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isIncomplete; + return NativePtr->isIncomplete; } void CppSharp::Parser::AST::Declaration::IsIncomplete::set(bool value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isIncomplete = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->isIncomplete = value; } bool CppSharp::Parser::AST::Declaration::IsDependent::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDependent; + return NativePtr->isDependent; } void CppSharp::Parser::AST::Declaration::IsDependent::set(bool value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDependent = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDependent = value; } bool CppSharp::Parser::AST::Declaration::IsImplicit::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isImplicit; + return NativePtr->isImplicit; } void CppSharp::Parser::AST::Declaration::IsImplicit::set(bool value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isImplicit = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->isImplicit = value; } bool CppSharp::Parser::AST::Declaration::IsInvalid::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isInvalid; + return NativePtr->isInvalid; } void CppSharp::Parser::AST::Declaration::IsInvalid::set(bool value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isInvalid = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->isInvalid = value; } bool CppSharp::Parser::AST::Declaration::IsDeprecated::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDeprecated; + return NativePtr->isDeprecated; } void CppSharp::Parser::AST::Declaration::IsDeprecated::set(bool value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDeprecated = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->isDeprecated = value; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Declaration::CompleteDeclaration::get() { - return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->completeDeclaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->completeDeclaration); + return (NativePtr->completeDeclaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr->completeDeclaration); } void CppSharp::Parser::AST::Declaration::CompleteDeclaration::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->completeDeclaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->completeDeclaration = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } unsigned int CppSharp::Parser::AST::Declaration::DefinitionOrder::get() { - return ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->definitionOrder; + return NativePtr->definitionOrder; } void CppSharp::Parser::AST::Declaration::DefinitionOrder::set(unsigned int value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->definitionOrder = value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->definitionOrder = value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Declaration::PreprocessedEntities::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Declaration::PreprocessedEntities::get() { - auto _tmp__PreprocessedEntities = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->PreprocessedEntities) + auto _tmp__PreprocessedEntities = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->PreprocessedEntities; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::PreprocessedEntity((struct ::CppSharp::CppParser::AST::PreprocessedEntity*)_element); _tmp__PreprocessedEntities->Add(_marshalElement); } return _tmp__PreprocessedEntities; } -void CppSharp::Parser::AST::Declaration::PreprocessedEntities::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Declaration::PreprocessedEntities::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::PreprocessedEntity*>(); for each(CppSharp::Parser::AST::PreprocessedEntity^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::PreprocessedEntity*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::PreprocessedEntity*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->PreprocessedEntities = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->PreprocessedEntities = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Declaration::Redeclarations::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Declaration::Redeclarations::get() { - auto _tmp__Redeclarations = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Redeclarations) + auto _tmp__Redeclarations = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Redeclarations; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)_element); _tmp__Redeclarations->Add(_marshalElement); } return _tmp__Redeclarations; } -void CppSharp::Parser::AST::Declaration::Redeclarations::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Declaration::Redeclarations::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Declaration*>(); for each(CppSharp::Parser::AST::Declaration^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->Redeclarations = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->Redeclarations = _tmpvalue; } ::System::IntPtr CppSharp::Parser::AST::Declaration::OriginalPtr::get() { - return ::System::IntPtr(((::CppSharp::CppParser::AST::Declaration*)NativePtr)->originalPtr); + return ::System::IntPtr(NativePtr->originalPtr); } void CppSharp::Parser::AST::Declaration::OriginalPtr::set(::System::IntPtr value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->originalPtr = (void*)value; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->originalPtr = (void*)value; } CppSharp::Parser::AST::RawComment^ CppSharp::Parser::AST::Declaration::Comment::get() { - return (((::CppSharp::CppParser::AST::Declaration*)NativePtr)->comment == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::RawComment((::CppSharp::CppParser::AST::RawComment*)((::CppSharp::CppParser::AST::Declaration*)NativePtr)->comment); + return (NativePtr->comment == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::RawComment((struct ::CppSharp::CppParser::AST::RawComment*)NativePtr->comment); } void CppSharp::Parser::AST::Declaration::Comment::set(CppSharp::Parser::AST::RawComment^ value) { - ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->comment = (::CppSharp::CppParser::AST::RawComment*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->comment = (struct ::CppSharp::CppParser::AST::RawComment*)value->NativePtr; } unsigned int CppSharp::Parser::AST::Declaration::PreprocessedEntitiesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntitiesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->getPreprocessedEntitiesCount(); return __ret; } unsigned int CppSharp::Parser::AST::Declaration::RedeclarationsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Declaration*)NativePtr)->getRedeclarationsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr)->getRedeclarationsCount(); return __ret; } -CppSharp::Parser::AST::DeclarationContext::DeclarationContext(::CppSharp::CppParser::AST::DeclarationContext* native) +CppSharp::Parser::AST::DeclarationContext::DeclarationContext(struct ::CppSharp::CppParser::AST::DeclarationContext* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::DeclarationContext::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DeclarationContext((struct ::CppSharp::CppParser::AST::DeclarationContext*) native.ToPointer()); } -CppSharp::Parser::AST::DeclarationContext::DeclarationContext(::CppSharp::CppParser::AST::DeclarationContext* native, bool ownNativeInstance) +CppSharp::Parser::AST::DeclarationContext::DeclarationContext(struct ::CppSharp::CppParser::AST::DeclarationContext* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::DeclarationContext^ CppSharp::Parser::AST::DeclarationContext::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DeclarationContext((struct ::CppSharp::CppParser::AST::DeclarationContext*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DeclarationContext::~DeclarationContext() @@ -398,7 +400,7 @@ CppSharp::Parser::AST::DeclarationContext::~DeclarationContext() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::DeclarationContext*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::DeclarationContext*) __nativePtr; } } @@ -406,188 +408,188 @@ CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser:: : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::DeclarationContext(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::DeclarationContext(__arg0); } CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::DeclarationContext::GetNamespaces(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespaces(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespaces(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Namespace((struct ::CppSharp::CppParser::AST::Namespace*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddNamespaces(CppSharp::Parser::AST::Namespace^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Namespace*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addNamespaces(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Namespace*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addNamespaces(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearNamespaces() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearNamespaces(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearNamespaces(); } CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::DeclarationContext::GetEnums(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnums(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnums(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration((struct ::CppSharp::CppParser::AST::Enumeration*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddEnums(CppSharp::Parser::AST::Enumeration^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Enumeration*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addEnums(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Enumeration*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addEnums(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearEnums() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearEnums(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearEnums(); } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::DeclarationContext::GetFunctions(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctions(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctions(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddFunctions(CppSharp::Parser::AST::Function^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Function*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFunctions(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Function*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFunctions(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearFunctions() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFunctions(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFunctions(); } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::DeclarationContext::GetClasses(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClasses(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClasses(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddClasses(CppSharp::Parser::AST::Class^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Class*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addClasses(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Class*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addClasses(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearClasses() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearClasses(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearClasses(); } CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::DeclarationContext::GetTemplates(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplates(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplates(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddTemplates(CppSharp::Parser::AST::Template^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Template*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTemplates(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Template*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTemplates(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearTemplates() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTemplates(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTemplates(); } CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::DeclarationContext::GetTypedefs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefs(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefs(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefDecl((struct ::CppSharp::CppParser::AST::TypedefDecl*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddTypedefs(CppSharp::Parser::AST::TypedefDecl^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::TypedefDecl*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTypedefs(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::TypedefDecl*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTypedefs(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearTypedefs() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTypedefs(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTypedefs(); } CppSharp::Parser::AST::TypeAlias^ CppSharp::Parser::AST::DeclarationContext::GetTypeAliases(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypeAliases(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypeAliases(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAlias((::CppSharp::CppParser::AST::TypeAlias*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAlias((struct ::CppSharp::CppParser::AST::TypeAlias*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddTypeAliases(CppSharp::Parser::AST::TypeAlias^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::TypeAlias*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTypeAliases(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::TypeAlias*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addTypeAliases(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearTypeAliases() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTypeAliases(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearTypeAliases(); } CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::DeclarationContext::GetVariables(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariables(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariables(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Variable((struct ::CppSharp::CppParser::AST::Variable*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddVariables(CppSharp::Parser::AST::Variable^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Variable*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addVariables(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Variable*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addVariables(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearVariables() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearVariables(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearVariables(); } CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::DeclarationContext::GetFriends(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriends(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriends(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Friend((struct ::CppSharp::CppParser::AST::Friend*)__ret); } void CppSharp::Parser::AST::DeclarationContext::AddFriends(CppSharp::Parser::AST::Friend^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Friend*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFriends(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Friend*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->addFriends(__arg0); } void CppSharp::Parser::AST::DeclarationContext::ClearFriends() { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFriends(); + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->clearFriends(); } CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser::AST::DeclarationContext^ _0) @@ -596,298 +598,307 @@ CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DeclarationContext*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DeclarationContext(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DeclarationContext*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DeclarationContext(__arg0); } CppSharp::Parser::AST::DeclarationContext::operator CppSharp::Parser::AST::DeclarationContext^(CppSharp::Parser::AST::DeclarationKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; auto __ret = (::CppSharp::CppParser::AST::DeclarationContext) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::DeclarationContext(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::DeclarationContext(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclarationContext((struct ::CppSharp::CppParser::AST::DeclarationContext*)____ret, true); } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Namespaces::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Namespaces::get() { - auto _tmp__Namespaces = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces) + auto _tmp__Namespaces = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Namespace((struct ::CppSharp::CppParser::AST::Namespace*)_element); _tmp__Namespaces->Add(_marshalElement); } return _tmp__Namespaces; } -void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Namespaces::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Namespace*>(); for each(CppSharp::Parser::AST::Namespace^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Namespace*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Namespace*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Namespaces = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Enums::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Enums::get() { - auto _tmp__Enums = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums) + auto _tmp__Enums = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration((struct ::CppSharp::CppParser::AST::Enumeration*)_element); _tmp__Enums->Add(_marshalElement); } return _tmp__Enums; } -void CppSharp::Parser::AST::DeclarationContext::Enums::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Enums::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Enumeration*>(); for each(CppSharp::Parser::AST::Enumeration^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Enumeration*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Enumeration*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Enums = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Functions::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Functions::get() { - auto _tmp__Functions = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions) + auto _tmp__Functions = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)_element); _tmp__Functions->Add(_marshalElement); } return _tmp__Functions; } -void CppSharp::Parser::AST::DeclarationContext::Functions::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Functions::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Function*>(); for each(CppSharp::Parser::AST::Function^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Function*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Function*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Functions = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Classes::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Classes::get() { - auto _tmp__Classes = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes) + auto _tmp__Classes = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*)_element); _tmp__Classes->Add(_marshalElement); } return _tmp__Classes; } -void CppSharp::Parser::AST::DeclarationContext::Classes::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Classes::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Class*>(); for each(CppSharp::Parser::AST::Class^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Class*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Class*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Classes = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Templates::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Templates::get() { - auto _tmp__Templates = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Templates) + auto _tmp__Templates = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Templates; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*)_element); _tmp__Templates->Add(_marshalElement); } return _tmp__Templates; } -void CppSharp::Parser::AST::DeclarationContext::Templates::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Templates::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Template*>(); for each(CppSharp::Parser::AST::Template^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Template*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Template*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Templates = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Templates = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Typedefs::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Typedefs::get() { - auto _tmp__Typedefs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Typedefs) + auto _tmp__Typedefs = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Typedefs; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefDecl((struct ::CppSharp::CppParser::AST::TypedefDecl*)_element); _tmp__Typedefs->Add(_marshalElement); } return _tmp__Typedefs; } -void CppSharp::Parser::AST::DeclarationContext::Typedefs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Typedefs::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TypedefDecl*>(); for each(CppSharp::Parser::AST::TypedefDecl^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::TypedefDecl*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::TypedefDecl*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Typedefs = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Typedefs = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::TypeAliases::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::TypeAliases::get() { - auto _tmp__TypeAliases = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->TypeAliases) + auto _tmp__TypeAliases = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->TypeAliases; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAlias((::CppSharp::CppParser::AST::TypeAlias*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAlias((struct ::CppSharp::CppParser::AST::TypeAlias*)_element); _tmp__TypeAliases->Add(_marshalElement); } return _tmp__TypeAliases; } -void CppSharp::Parser::AST::DeclarationContext::TypeAliases::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::TypeAliases::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TypeAlias*>(); for each(CppSharp::Parser::AST::TypeAlias^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::TypeAlias*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::TypeAlias*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->TypeAliases = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->TypeAliases = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Variables::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Variables::get() { - auto _tmp__Variables = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Variables) + auto _tmp__Variables = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Variables; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Variable((struct ::CppSharp::CppParser::AST::Variable*)_element); _tmp__Variables->Add(_marshalElement); } return _tmp__Variables; } -void CppSharp::Parser::AST::DeclarationContext::Variables::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Variables::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Variable*>(); for each(CppSharp::Parser::AST::Variable^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Variable*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Variable*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Variables = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Variables = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Friends::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclarationContext::Friends::get() { - auto _tmp__Friends = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Friends) + auto _tmp__Friends = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Friends; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Friend((struct ::CppSharp::CppParser::AST::Friend*)_element); _tmp__Friends->Add(_marshalElement); } return _tmp__Friends; } -void CppSharp::Parser::AST::DeclarationContext::Friends::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclarationContext::Friends::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Friend*>(); for each(CppSharp::Parser::AST::Friend^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Friend*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Friend*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Friends = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->Friends = _tmpvalue; } bool CppSharp::Parser::AST::DeclarationContext::IsAnonymous::get() { - return ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->isAnonymous; + return ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->isAnonymous; } void CppSharp::Parser::AST::DeclarationContext::IsAnonymous::set(bool value) { - ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->isAnonymous = value; + ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->isAnonymous = value; } unsigned int CppSharp::Parser::AST::DeclarationContext::NamespacesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespacesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getNamespacesCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::EnumsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnumsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getEnumsCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::FunctionsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctionsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFunctionsCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::ClassesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClassesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getClassesCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::TemplatesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplatesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTemplatesCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::TypedefsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypedefsCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::TypeAliasesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypeAliasesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getTypeAliasesCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::VariablesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariablesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getVariablesCount(); return __ret; } unsigned int CppSharp::Parser::AST::DeclarationContext::FriendsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriendsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclarationContext*)NativePtr)->getFriendsCount(); return __ret; } -CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(::CppSharp::CppParser::AST::TypedefNameDecl* native) +CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(struct ::CppSharp::CppParser::AST::TypedefNameDecl* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::TypedefNameDecl^ CppSharp::Parser::AST::TypedefNameDecl::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypedefNameDecl((struct ::CppSharp::CppParser::AST::TypedefNameDecl*) native.ToPointer()); } -CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(::CppSharp::CppParser::AST::TypedefNameDecl* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(struct ::CppSharp::CppParser::AST::TypedefNameDecl* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypedefNameDecl^ CppSharp::Parser::AST::TypedefNameDecl::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypedefNameDecl((struct ::CppSharp::CppParser::AST::TypedefNameDecl*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypedefNameDecl::~TypedefNameDecl() @@ -896,7 +907,7 @@ CppSharp::Parser::AST::TypedefNameDecl::~TypedefNameDecl() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TypedefNameDecl*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TypedefNameDecl*) __nativePtr; } } @@ -904,8 +915,8 @@ CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(CppSharp::Parser::AST::D : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::TypedefNameDecl(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefNameDecl(__arg0); } CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(CppSharp::Parser::AST::TypedefNameDecl^ _0) @@ -914,48 +925,48 @@ CppSharp::Parser::AST::TypedefNameDecl::TypedefNameDecl(CppSharp::Parser::AST::T __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypedefNameDecl*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypedefNameDecl(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypedefNameDecl*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefNameDecl(__arg0); } CppSharp::Parser::AST::TypedefNameDecl::operator CppSharp::Parser::AST::TypedefNameDecl^(CppSharp::Parser::AST::DeclarationKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; auto __ret = (::CppSharp::CppParser::AST::TypedefNameDecl) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::TypedefNameDecl(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::TypedefNameDecl(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefNameDecl((struct ::CppSharp::CppParser::AST::TypedefNameDecl*)____ret, true); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TypedefNameDecl::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::TypedefNameDecl::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TypedefNameDecl*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::TypedefDecl::TypedefDecl(::CppSharp::CppParser::AST::TypedefDecl* native) +CppSharp::Parser::AST::TypedefDecl::TypedefDecl(struct ::CppSharp::CppParser::AST::TypedefDecl* native) : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)native) { } CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::TypedefDecl::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypedefDecl((struct ::CppSharp::CppParser::AST::TypedefDecl*) native.ToPointer()); } -CppSharp::Parser::AST::TypedefDecl::TypedefDecl(::CppSharp::CppParser::AST::TypedefDecl* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypedefDecl::TypedefDecl(struct ::CppSharp::CppParser::AST::TypedefDecl* native, bool ownNativeInstance) : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::TypedefDecl::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypedefDecl((::CppSharp::CppParser::AST::TypedefDecl*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypedefDecl((struct ::CppSharp::CppParser::AST::TypedefDecl*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypedefDecl::~TypedefDecl() @@ -964,7 +975,7 @@ CppSharp::Parser::AST::TypedefDecl::~TypedefDecl() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TypedefDecl*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TypedefDecl*) __nativePtr; } } @@ -972,7 +983,7 @@ CppSharp::Parser::AST::TypedefDecl::TypedefDecl() : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypedefDecl(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefDecl(); } CppSharp::Parser::AST::TypedefDecl::TypedefDecl(CppSharp::Parser::AST::TypedefDecl^ _0) @@ -981,28 +992,28 @@ CppSharp::Parser::AST::TypedefDecl::TypedefDecl(CppSharp::Parser::AST::TypedefDe __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypedefDecl*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypedefDecl(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypedefDecl*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefDecl(__arg0); } -CppSharp::Parser::AST::TypeAlias::TypeAlias(::CppSharp::CppParser::AST::TypeAlias* native) +CppSharp::Parser::AST::TypeAlias::TypeAlias(struct ::CppSharp::CppParser::AST::TypeAlias* native) : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)native) { } CppSharp::Parser::AST::TypeAlias^ CppSharp::Parser::AST::TypeAlias::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypeAlias((::CppSharp::CppParser::AST::TypeAlias*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypeAlias((struct ::CppSharp::CppParser::AST::TypeAlias*) native.ToPointer()); } -CppSharp::Parser::AST::TypeAlias::TypeAlias(::CppSharp::CppParser::AST::TypeAlias* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypeAlias::TypeAlias(struct ::CppSharp::CppParser::AST::TypeAlias* native, bool ownNativeInstance) : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypeAlias^ CppSharp::Parser::AST::TypeAlias::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypeAlias((::CppSharp::CppParser::AST::TypeAlias*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypeAlias((struct ::CppSharp::CppParser::AST::TypeAlias*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypeAlias::~TypeAlias() @@ -1011,7 +1022,7 @@ CppSharp::Parser::AST::TypeAlias::~TypeAlias() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TypeAlias*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TypeAlias*) __nativePtr; } } @@ -1019,7 +1030,7 @@ CppSharp::Parser::AST::TypeAlias::TypeAlias() : CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypeAlias(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypeAlias(); } CppSharp::Parser::AST::TypeAlias::TypeAlias(CppSharp::Parser::AST::TypeAlias^ _0) @@ -1028,38 +1039,38 @@ CppSharp::Parser::AST::TypeAlias::TypeAlias(CppSharp::Parser::AST::TypeAlias^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypeAlias*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypeAlias(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypeAlias*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypeAlias(__arg0); } CppSharp::Parser::AST::TypeAliasTemplate^ CppSharp::Parser::AST::TypeAlias::DescribedAliasTemplate::get() { - return (((::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((::CppSharp::CppParser::AST::TypeAliasTemplate*)((::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate); + return (((struct ::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((struct ::CppSharp::CppParser::AST::TypeAliasTemplate*)((struct ::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate); } void CppSharp::Parser::AST::TypeAlias::DescribedAliasTemplate::set(CppSharp::Parser::AST::TypeAliasTemplate^ value) { - ((::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate = (::CppSharp::CppParser::AST::TypeAliasTemplate*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TypeAlias*)NativePtr)->describedAliasTemplate = (struct ::CppSharp::CppParser::AST::TypeAliasTemplate*)value->NativePtr; } -CppSharp::Parser::AST::Friend::Friend(::CppSharp::CppParser::AST::Friend* native) +CppSharp::Parser::AST::Friend::Friend(struct ::CppSharp::CppParser::AST::Friend* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::Friend::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Friend((struct ::CppSharp::CppParser::AST::Friend*) native.ToPointer()); } -CppSharp::Parser::AST::Friend::Friend(::CppSharp::CppParser::AST::Friend* native, bool ownNativeInstance) +CppSharp::Parser::AST::Friend::Friend(struct ::CppSharp::CppParser::AST::Friend* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::Friend::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Friend((::CppSharp::CppParser::AST::Friend*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Friend((struct ::CppSharp::CppParser::AST::Friend*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Friend::~Friend() @@ -1068,7 +1079,7 @@ CppSharp::Parser::AST::Friend::~Friend() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Friend*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Friend*) __nativePtr; } } @@ -1076,7 +1087,7 @@ CppSharp::Parser::AST::Friend::Friend() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Friend(); + NativePtr = new struct ::CppSharp::CppParser::AST::Friend(); } CppSharp::Parser::AST::Friend::Friend(CppSharp::Parser::AST::Friend^ _0) @@ -1085,21 +1096,21 @@ CppSharp::Parser::AST::Friend::Friend(CppSharp::Parser::AST::Friend^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Friend*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Friend(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Friend*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Friend(__arg0); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Friend::Declaration::get() { - return (((::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration); + return (((struct ::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration); } void CppSharp::Parser::AST::Friend::Declaration::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Friend*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } -CppSharp::Parser::AST::StatementObsolete::StatementObsolete(::CppSharp::CppParser::AST::StatementObsolete* native) +CppSharp::Parser::AST::StatementObsolete::StatementObsolete(struct ::CppSharp::CppParser::AST::StatementObsolete* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -1107,10 +1118,10 @@ CppSharp::Parser::AST::StatementObsolete::StatementObsolete(::CppSharp::CppParse CppSharp::Parser::AST::StatementObsolete^ CppSharp::Parser::AST::StatementObsolete::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::StatementObsolete((::CppSharp::CppParser::AST::StatementObsolete*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::StatementObsolete((struct ::CppSharp::CppParser::AST::StatementObsolete*) native.ToPointer()); } -CppSharp::Parser::AST::StatementObsolete::StatementObsolete(::CppSharp::CppParser::AST::StatementObsolete* native, bool ownNativeInstance) +CppSharp::Parser::AST::StatementObsolete::StatementObsolete(struct ::CppSharp::CppParser::AST::StatementObsolete* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -1118,7 +1129,7 @@ CppSharp::Parser::AST::StatementObsolete::StatementObsolete(::CppSharp::CppParse CppSharp::Parser::AST::StatementObsolete^ CppSharp::Parser::AST::StatementObsolete::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::StatementObsolete((::CppSharp::CppParser::AST::StatementObsolete*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::StatementObsolete((struct ::CppSharp::CppParser::AST::StatementObsolete*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::StatementObsolete::~StatementObsolete() @@ -1126,13 +1137,13 @@ CppSharp::Parser::AST::StatementObsolete::~StatementObsolete() delete NativePtr; } -CppSharp::Parser::AST::StatementObsolete::StatementObsolete(System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl) +CppSharp::Parser::AST::StatementObsolete::StatementObsolete(::System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl) { __ownsNativeInstance = true; auto __arg0 = clix::marshalString(str); - auto __arg1 = (::CppSharp::CppParser::AST::StatementClassObsolete)Class; - auto __arg2 = (::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::StatementObsolete(__arg0, __arg1, __arg2); + auto __arg1 = (enum ::CppSharp::CppParser::AST::StatementClassObsolete)Class; + auto __arg2 = (struct ::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::StatementObsolete(__arg0, __arg1, __arg2); } CppSharp::Parser::AST::StatementObsolete::StatementObsolete(CppSharp::Parser::AST::StatementObsolete^ _0) @@ -1140,68 +1151,68 @@ CppSharp::Parser::AST::StatementObsolete::StatementObsolete(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::StatementObsolete*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::StatementObsolete(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::StatementObsolete*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::StatementObsolete(__arg0); } -System::IntPtr CppSharp::Parser::AST::StatementObsolete::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::StatementObsolete::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::StatementObsolete::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::StatementObsolete::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::StatementObsolete*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::StatementObsolete*)object.ToPointer(); } CppSharp::Parser::AST::StatementClassObsolete CppSharp::Parser::AST::StatementObsolete::Class::get() { - return (CppSharp::Parser::AST::StatementClassObsolete)((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->_class; + return (CppSharp::Parser::AST::StatementClassObsolete)NativePtr->_class; } void CppSharp::Parser::AST::StatementObsolete::Class::set(CppSharp::Parser::AST::StatementClassObsolete value) { - ((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->_class = (::CppSharp::CppParser::AST::StatementClassObsolete)value; + ((struct ::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->_class = (enum ::CppSharp::CppParser::AST::StatementClassObsolete)value; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::StatementObsolete::Decl::get() { - return (((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->decl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->decl); + return (NativePtr->decl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr->decl); } void CppSharp::Parser::AST::StatementObsolete::Decl::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->decl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->decl = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::StatementObsolete::String::get() +::System::String^ CppSharp::Parser::AST::StatementObsolete::String::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->string); + return clix::marshalString(NativePtr->string); } -void CppSharp::Parser::AST::StatementObsolete::String::set(System::String^ value) +void CppSharp::Parser::AST::StatementObsolete::String::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->string = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::StatementObsolete*)NativePtr)->string = clix::marshalString(value); } -CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(::CppSharp::CppParser::AST::ExpressionObsolete* native) +CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(struct ::CppSharp::CppParser::AST::ExpressionObsolete* native) : CppSharp::Parser::AST::StatementObsolete((::CppSharp::CppParser::AST::StatementObsolete*)native) { } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::ExpressionObsolete::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*) native.ToPointer()); } -CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(::CppSharp::CppParser::AST::ExpressionObsolete* native, bool ownNativeInstance) +CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(struct ::CppSharp::CppParser::AST::ExpressionObsolete* native, bool ownNativeInstance) : CppSharp::Parser::AST::StatementObsolete((::CppSharp::CppParser::AST::StatementObsolete*)native, ownNativeInstance) { } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::ExpressionObsolete::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ExpressionObsolete::~ExpressionObsolete() @@ -1210,18 +1221,18 @@ CppSharp::Parser::AST::ExpressionObsolete::~ExpressionObsolete() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ExpressionObsolete*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ExpressionObsolete*) __nativePtr; } } -CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl) +CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(::System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl) : CppSharp::Parser::AST::StatementObsolete((::CppSharp::CppParser::AST::StatementObsolete*)nullptr) { __ownsNativeInstance = true; auto __arg0 = clix::marshalString(str); - auto __arg1 = (::CppSharp::CppParser::AST::StatementClassObsolete)Class; - auto __arg2 = (::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExpressionObsolete(__arg0, __arg1, __arg2); + auto __arg1 = (enum ::CppSharp::CppParser::AST::StatementClassObsolete)Class; + auto __arg2 = (struct ::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExpressionObsolete(__arg0, __arg1, __arg2); } CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(CppSharp::Parser::AST::ExpressionObsolete^ _0) @@ -1230,28 +1241,28 @@ CppSharp::Parser::AST::ExpressionObsolete::ExpressionObsolete(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ExpressionObsolete*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExpressionObsolete(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ExpressionObsolete*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExpressionObsolete(__arg0); } -CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(::CppSharp::CppParser::AST::BinaryOperatorObsolete* native) +CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete* native) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native) { } CppSharp::Parser::AST::BinaryOperatorObsolete^ CppSharp::Parser::AST::BinaryOperatorObsolete::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BinaryOperatorObsolete((::CppSharp::CppParser::AST::BinaryOperatorObsolete*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BinaryOperatorObsolete((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*) native.ToPointer()); } -CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(::CppSharp::CppParser::AST::BinaryOperatorObsolete* native, bool ownNativeInstance) +CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native, ownNativeInstance) { } CppSharp::Parser::AST::BinaryOperatorObsolete^ CppSharp::Parser::AST::BinaryOperatorObsolete::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BinaryOperatorObsolete((::CppSharp::CppParser::AST::BinaryOperatorObsolete*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BinaryOperatorObsolete((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BinaryOperatorObsolete::~BinaryOperatorObsolete() @@ -1260,19 +1271,19 @@ CppSharp::Parser::AST::BinaryOperatorObsolete::~BinaryOperatorObsolete() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::BinaryOperatorObsolete*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*) __nativePtr; } } -CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(System::String^ str, CppSharp::Parser::AST::ExpressionObsolete^ lhs, CppSharp::Parser::AST::ExpressionObsolete^ rhs, System::String^ opcodeStr) +CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(::System::String^ str, CppSharp::Parser::AST::ExpressionObsolete^ lhs, CppSharp::Parser::AST::ExpressionObsolete^ rhs, ::System::String^ opcodeStr) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)nullptr) { __ownsNativeInstance = true; auto __arg0 = clix::marshalString(str); - auto __arg1 = (::CppSharp::CppParser::AST::ExpressionObsolete*)lhs->NativePtr; - auto __arg2 = (::CppSharp::CppParser::AST::ExpressionObsolete*)rhs->NativePtr; + auto __arg1 = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)lhs->NativePtr; + auto __arg2 = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)rhs->NativePtr; auto __arg3 = clix::marshalString(opcodeStr); - NativePtr = new ::CppSharp::CppParser::AST::BinaryOperatorObsolete(__arg0, __arg1, __arg2, __arg3); + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete(__arg0, __arg1, __arg2, __arg3); } CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(CppSharp::Parser::AST::BinaryOperatorObsolete^ _0) @@ -1281,58 +1292,58 @@ CppSharp::Parser::AST::BinaryOperatorObsolete::BinaryOperatorObsolete(CppSharp:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BinaryOperatorObsolete*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BinaryOperatorObsolete(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete(__arg0); } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::BinaryOperatorObsolete::LHS::get() { - return (((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS); + return (((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS); } void CppSharp::Parser::AST::BinaryOperatorObsolete::LHS::set(CppSharp::Parser::AST::ExpressionObsolete^ value) { - ((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS = (::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->LHS = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::BinaryOperatorObsolete::RHS::get() { - return (((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS); + return (((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS); } void CppSharp::Parser::AST::BinaryOperatorObsolete::RHS::set(CppSharp::Parser::AST::ExpressionObsolete^ value) { - ((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS = (::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->RHS = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::BinaryOperatorObsolete::OpcodeStr::get() +::System::String^ CppSharp::Parser::AST::BinaryOperatorObsolete::OpcodeStr::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->opcodeStr); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->opcodeStr); } -void CppSharp::Parser::AST::BinaryOperatorObsolete::OpcodeStr::set(System::String^ value) +void CppSharp::Parser::AST::BinaryOperatorObsolete::OpcodeStr::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->opcodeStr = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete*)NativePtr)->opcodeStr = clix::marshalString(value); } -CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(::CppSharp::CppParser::AST::CallExprObsolete* native) +CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(struct ::CppSharp::CppParser::AST::CallExprObsolete* native) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native) { } CppSharp::Parser::AST::CallExprObsolete^ CppSharp::Parser::AST::CallExprObsolete::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CallExprObsolete((::CppSharp::CppParser::AST::CallExprObsolete*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CallExprObsolete((struct ::CppSharp::CppParser::AST::CallExprObsolete*) native.ToPointer()); } -CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(::CppSharp::CppParser::AST::CallExprObsolete* native, bool ownNativeInstance) +CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(struct ::CppSharp::CppParser::AST::CallExprObsolete* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native, ownNativeInstance) { } CppSharp::Parser::AST::CallExprObsolete^ CppSharp::Parser::AST::CallExprObsolete::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CallExprObsolete((::CppSharp::CppParser::AST::CallExprObsolete*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CallExprObsolete((struct ::CppSharp::CppParser::AST::CallExprObsolete*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CallExprObsolete::~CallExprObsolete() @@ -1341,37 +1352,37 @@ CppSharp::Parser::AST::CallExprObsolete::~CallExprObsolete() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CallExprObsolete*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CallExprObsolete*) __nativePtr; } } -CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(System::String^ str, CppSharp::Parser::AST::Declaration^ decl) +CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(::System::String^ str, CppSharp::Parser::AST::Declaration^ decl) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)nullptr) { __ownsNativeInstance = true; auto __arg0 = clix::marshalString(str); - auto __arg1 = (::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CallExprObsolete(__arg0, __arg1); + auto __arg1 = (struct ::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CallExprObsolete(__arg0, __arg1); } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::CallExprObsolete::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->getArguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->getArguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)__ret); } void CppSharp::Parser::AST::CallExprObsolete::AddArguments(CppSharp::Parser::AST::ExpressionObsolete^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::ExpressionObsolete*)s->NativePtr; - ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->addArguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::CallExprObsolete::ClearArguments() { - ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(CppSharp::Parser::AST::CallExprObsolete^ _0) @@ -1380,56 +1391,57 @@ CppSharp::Parser::AST::CallExprObsolete::CallExprObsolete(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CallExprObsolete*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CallExprObsolete(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CallExprObsolete*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CallExprObsolete(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CallExprObsolete::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CallExprObsolete::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)_element); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::CallExprObsolete::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CallExprObsolete::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::ExpressionObsolete*>(); for each(CppSharp::Parser::AST::ExpressionObsolete^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::ExpressionObsolete*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->Arguments = _tmpvalue; } unsigned int CppSharp::Parser::AST::CallExprObsolete::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CallExprObsolete*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(::CppSharp::CppParser::AST::CXXConstructExprObsolete* native) +CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete* native) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native) { } CppSharp::Parser::AST::CXXConstructExprObsolete^ CppSharp::Parser::AST::CXXConstructExprObsolete::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXConstructExprObsolete((::CppSharp::CppParser::AST::CXXConstructExprObsolete*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXConstructExprObsolete((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*) native.ToPointer()); } -CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(::CppSharp::CppParser::AST::CXXConstructExprObsolete* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXConstructExprObsolete^ CppSharp::Parser::AST::CXXConstructExprObsolete::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXConstructExprObsolete((::CppSharp::CppParser::AST::CXXConstructExprObsolete*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXConstructExprObsolete((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXConstructExprObsolete::~CXXConstructExprObsolete() @@ -1438,37 +1450,37 @@ CppSharp::Parser::AST::CXXConstructExprObsolete::~CXXConstructExprObsolete() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXConstructExprObsolete*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*) __nativePtr; } } -CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(System::String^ str, CppSharp::Parser::AST::Declaration^ decl) +CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(::System::String^ str, CppSharp::Parser::AST::Declaration^ decl) : CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)nullptr) { __ownsNativeInstance = true; auto __arg0 = clix::marshalString(str); - auto __arg1 = (::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExprObsolete(__arg0, __arg1); + auto __arg1 = (struct ::CppSharp::CppParser::AST::Declaration*)decl->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete(__arg0, __arg1); } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::CXXConstructExprObsolete::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->getArguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->getArguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)__ret); } void CppSharp::Parser::AST::CXXConstructExprObsolete::AddArguments(CppSharp::Parser::AST::ExpressionObsolete^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::ExpressionObsolete*)s->NativePtr; - ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->addArguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::CXXConstructExprObsolete::ClearArguments() { - ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(CppSharp::Parser::AST::CXXConstructExprObsolete^ _0) @@ -1477,56 +1489,57 @@ CppSharp::Parser::AST::CXXConstructExprObsolete::CXXConstructExprObsolete(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXConstructExprObsolete*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExprObsolete(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CXXConstructExprObsolete::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CXXConstructExprObsolete::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)_element); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::CXXConstructExprObsolete::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CXXConstructExprObsolete::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::ExpressionObsolete*>(); for each(CppSharp::Parser::AST::ExpressionObsolete^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::ExpressionObsolete*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->Arguments = _tmpvalue; } unsigned int CppSharp::Parser::AST::CXXConstructExprObsolete::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::Parameter::Parameter(::CppSharp::CppParser::AST::Parameter* native) +CppSharp::Parser::AST::Parameter::Parameter(struct ::CppSharp::CppParser::AST::Parameter* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Parameter::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*) native.ToPointer()); } -CppSharp::Parser::AST::Parameter::Parameter(::CppSharp::CppParser::AST::Parameter* native, bool ownNativeInstance) +CppSharp::Parser::AST::Parameter::Parameter(struct ::CppSharp::CppParser::AST::Parameter* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Parameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Parameter::~Parameter() @@ -1535,7 +1548,7 @@ CppSharp::Parser::AST::Parameter::~Parameter() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Parameter*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Parameter*) __nativePtr; } } @@ -1543,7 +1556,7 @@ CppSharp::Parser::AST::Parameter::Parameter() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Parameter(); + NativePtr = new struct ::CppSharp::CppParser::AST::Parameter(); } CppSharp::Parser::AST::Parameter::Parameter(CppSharp::Parser::AST::Parameter^ _0) @@ -1552,90 +1565,90 @@ CppSharp::Parser::AST::Parameter::Parameter(CppSharp::Parser::AST::Parameter^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Parameter*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Parameter(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Parameter*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Parameter(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Parameter::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::Parameter::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::Parameter::IsIndirect::get() { - return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->isIndirect; + return ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->isIndirect; } void CppSharp::Parser::AST::Parameter::IsIndirect::set(bool value) { - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->isIndirect = value; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->isIndirect = value; } bool CppSharp::Parser::AST::Parameter::HasDefaultValue::get() { - return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->hasDefaultValue; + return ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->hasDefaultValue; } void CppSharp::Parser::AST::Parameter::HasDefaultValue::set(bool value) { - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->hasDefaultValue = value; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->hasDefaultValue = value; } unsigned int CppSharp::Parser::AST::Parameter::Index::get() { - return ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->index; + return ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->index; } void CppSharp::Parser::AST::Parameter::Index::set(unsigned int value) { - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->index = value; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->index = value; } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::Parameter::DefaultArgument::get() { - return (((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument); + return (((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument); } void CppSharp::Parser::AST::Parameter::DefaultArgument::set(CppSharp::Parser::AST::ExpressionObsolete^ value) { - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument = (::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultArgument = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::Parameter::DefaultValue::get() { - return (((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue); + return (((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue); } void CppSharp::Parser::AST::Parameter::DefaultValue::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Parameter*)NativePtr)->defaultValue = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::Function::Function(::CppSharp::CppParser::AST::Function* native) +CppSharp::Parser::AST::Function::Function(struct ::CppSharp::CppParser::AST::Function* native) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native) { } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::Function::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*) native.ToPointer()); } -CppSharp::Parser::AST::Function::Function(::CppSharp::CppParser::AST::Function* native, bool ownNativeInstance) +CppSharp::Parser::AST::Function::Function(struct ::CppSharp::CppParser::AST::Function* native, bool ownNativeInstance) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native, ownNativeInstance) { } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::Function::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Function::~Function() @@ -1644,7 +1657,7 @@ CppSharp::Parser::AST::Function::~Function() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Function*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Function*) __nativePtr; } } @@ -1652,27 +1665,27 @@ CppSharp::Parser::AST::Function::Function() : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Function(); + NativePtr = new struct ::CppSharp::CppParser::AST::Function(); } CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Function::GetParameters(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getParameters(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->getParameters(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*)__ret); } void CppSharp::Parser::AST::Function::AddParameters(CppSharp::Parser::AST::Parameter^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Parameter*)s->NativePtr; - ((::CppSharp::CppParser::AST::Function*)NativePtr)->addParameters(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Parameter*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->addParameters(__arg0); } void CppSharp::Parser::AST::Function::ClearParameters() { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->clearParameters(); + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->clearParameters(); } CppSharp::Parser::AST::Function::Function(CppSharp::Parser::AST::Function^ _0) @@ -1681,250 +1694,251 @@ CppSharp::Parser::AST::Function::Function(CppSharp::Parser::AST::Function^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Function*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Function(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Function*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Function(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Function::ReturnType::get() { - return (&((::CppSharp::CppParser::AST::Function*)NativePtr)->returnType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Function*)NativePtr)->returnType); + return (&((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->returnType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->returnType); } void CppSharp::Parser::AST::Function::ReturnType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Function*)NativePtr)->returnType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->returnType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::Function::IsReturnIndirect::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isReturnIndirect; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isReturnIndirect; } void CppSharp::Parser::AST::Function::IsReturnIndirect::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isReturnIndirect = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isReturnIndirect = value; } bool CppSharp::Parser::AST::Function::HasThisReturn::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->hasThisReturn; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->hasThisReturn; } void CppSharp::Parser::AST::Function::HasThisReturn::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->hasThisReturn = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->hasThisReturn = value; } bool CppSharp::Parser::AST::Function::IsConstExpr::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isConstExpr; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isConstExpr; } void CppSharp::Parser::AST::Function::IsConstExpr::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isConstExpr = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isConstExpr = value; } bool CppSharp::Parser::AST::Function::IsVariadic::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isVariadic; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isVariadic; } void CppSharp::Parser::AST::Function::IsVariadic::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isVariadic = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isVariadic = value; } bool CppSharp::Parser::AST::Function::IsInline::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isInline; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isInline; } void CppSharp::Parser::AST::Function::IsInline::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isInline = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isInline = value; } bool CppSharp::Parser::AST::Function::IsPure::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isPure; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isPure; } void CppSharp::Parser::AST::Function::IsPure::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isPure = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isPure = value; } bool CppSharp::Parser::AST::Function::IsDeleted::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isDeleted; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isDeleted; } void CppSharp::Parser::AST::Function::IsDeleted::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isDeleted = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isDeleted = value; } bool CppSharp::Parser::AST::Function::IsDefaulted::get() { - return ((::CppSharp::CppParser::AST::Function*)NativePtr)->isDefaulted; + return ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isDefaulted; } void CppSharp::Parser::AST::Function::IsDefaulted::set(bool value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->isDefaulted = value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->isDefaulted = value; } CppSharp::Parser::AST::FriendKind CppSharp::Parser::AST::Function::FriendKind::get() { - return (CppSharp::Parser::AST::FriendKind)((::CppSharp::CppParser::AST::Function*)NativePtr)->friendKind; + return (CppSharp::Parser::AST::FriendKind)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->friendKind; } void CppSharp::Parser::AST::Function::FriendKind::set(CppSharp::Parser::AST::FriendKind value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->friendKind = (::CppSharp::CppParser::AST::FriendKind)value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->friendKind = (enum ::CppSharp::CppParser::AST::FriendKind)value; } CppSharp::Parser::AST::CXXOperatorKind CppSharp::Parser::AST::Function::OperatorKind::get() { - return (CppSharp::Parser::AST::CXXOperatorKind)((::CppSharp::CppParser::AST::Function*)NativePtr)->operatorKind; + return (CppSharp::Parser::AST::CXXOperatorKind)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->operatorKind; } void CppSharp::Parser::AST::Function::OperatorKind::set(CppSharp::Parser::AST::CXXOperatorKind value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->operatorKind = (::CppSharp::CppParser::AST::CXXOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->operatorKind = (enum ::CppSharp::CppParser::AST::CXXOperatorKind)value; } -System::String^ CppSharp::Parser::AST::Function::Mangled::get() +::System::String^ CppSharp::Parser::AST::Function::Mangled::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Function*)NativePtr)->mangled); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->mangled); } -void CppSharp::Parser::AST::Function::Mangled::set(System::String^ value) +void CppSharp::Parser::AST::Function::Mangled::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->mangled = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->mangled = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::Function::Signature::get() +::System::String^ CppSharp::Parser::AST::Function::Signature::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Function*)NativePtr)->signature); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->signature); } -void CppSharp::Parser::AST::Function::Signature::set(System::String^ value) +void CppSharp::Parser::AST::Function::Signature::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->signature = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->signature = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::Function::Body::get() +::System::String^ CppSharp::Parser::AST::Function::Body::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Function*)NativePtr)->body); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->body); } -void CppSharp::Parser::AST::Function::Body::set(System::String^ value) +void CppSharp::Parser::AST::Function::Body::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->body = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->body = clix::marshalString(value); } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::Function::BodyStmt::get() { - return (((::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt); + return (((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt); } void CppSharp::Parser::AST::Function::BodyStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->bodyStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::CallingConvention CppSharp::Parser::AST::Function::CallingConvention::get() { - return (CppSharp::Parser::AST::CallingConvention)((::CppSharp::CppParser::AST::Function*)NativePtr)->callingConvention; + return (CppSharp::Parser::AST::CallingConvention)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->callingConvention; } void CppSharp::Parser::AST::Function::CallingConvention::set(CppSharp::Parser::AST::CallingConvention value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->callingConvention = (::CppSharp::CppParser::AST::CallingConvention)value; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->callingConvention = (enum ::CppSharp::CppParser::AST::CallingConvention)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Function::Parameters::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Function::Parameters::get() { - auto _tmp__Parameters = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Function*)NativePtr)->Parameters) + auto _tmp__Parameters = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->Parameters; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*)_element); _tmp__Parameters->Add(_marshalElement); } return _tmp__Parameters; } -void CppSharp::Parser::AST::Function::Parameters::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Function::Parameters::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Parameter*>(); for each(CppSharp::Parser::AST::Parameter^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Parameter*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Parameter*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Function*)NativePtr)->Parameters = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->Parameters = _tmpvalue; } CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::Function::SpecializationInfo::get() { - return (((::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)((::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo); + return (((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo); } void CppSharp::Parser::AST::Function::SpecializationInfo::set(CppSharp::Parser::AST::FunctionTemplateSpecialization^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->specializationInfo = (struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)value->NativePtr; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::Function::InstantiatedFrom::get() { - return (((::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom); + return (((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom); } void CppSharp::Parser::AST::Function::InstantiatedFrom::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->instantiatedFrom = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Function::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::Function::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } unsigned int CppSharp::Parser::AST::Function::ParametersCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Function*)NativePtr)->getParametersCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Function*)NativePtr)->getParametersCount(); return __ret; } -CppSharp::Parser::AST::Method::Method(::CppSharp::CppParser::AST::Method* native) +CppSharp::Parser::AST::Method::Method(struct ::CppSharp::CppParser::AST::Method* native) : CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)native) { } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Method::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*) native.ToPointer()); } -CppSharp::Parser::AST::Method::Method(::CppSharp::CppParser::AST::Method* native, bool ownNativeInstance) +CppSharp::Parser::AST::Method::Method(struct ::CppSharp::CppParser::AST::Method* native, bool ownNativeInstance) : CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)native, ownNativeInstance) { } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Method::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Method::~Method() @@ -1933,7 +1947,7 @@ CppSharp::Parser::AST::Method::~Method() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Method*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Method*) __nativePtr; } } @@ -1941,27 +1955,27 @@ CppSharp::Parser::AST::Method::Method() : CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Method(); + NativePtr = new struct ::CppSharp::CppParser::AST::Method(); } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Method::GetOverriddenMethods(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Method*)NativePtr)->getOverriddenMethods(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->getOverriddenMethods(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)__ret); } void CppSharp::Parser::AST::Method::AddOverriddenMethods(CppSharp::Parser::AST::Method^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Method*)s->NativePtr; - ((::CppSharp::CppParser::AST::Method*)NativePtr)->addOverriddenMethods(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Method*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->addOverriddenMethods(__arg0); } void CppSharp::Parser::AST::Method::ClearOverriddenMethods() { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->clearOverriddenMethods(); + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->clearOverriddenMethods(); } CppSharp::Parser::AST::Method::Method(CppSharp::Parser::AST::Method^ _0) @@ -1970,158 +1984,159 @@ CppSharp::Parser::AST::Method::Method(CppSharp::Parser::AST::Method^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Method*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Method(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Method*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Method(__arg0); } bool CppSharp::Parser::AST::Method::IsVirtual::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isVirtual; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isVirtual; } void CppSharp::Parser::AST::Method::IsVirtual::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isVirtual = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isVirtual = value; } bool CppSharp::Parser::AST::Method::IsStatic::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isStatic; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isStatic; } void CppSharp::Parser::AST::Method::IsStatic::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isStatic = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isStatic = value; } bool CppSharp::Parser::AST::Method::IsConst::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isConst; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isConst; } void CppSharp::Parser::AST::Method::IsConst::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isConst = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isConst = value; } bool CppSharp::Parser::AST::Method::IsExplicit::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isExplicit; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isExplicit; } void CppSharp::Parser::AST::Method::IsExplicit::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isExplicit = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isExplicit = value; } CppSharp::Parser::AST::CXXMethodKind CppSharp::Parser::AST::Method::MethodKind::get() { - return (CppSharp::Parser::AST::CXXMethodKind)((::CppSharp::CppParser::AST::Method*)NativePtr)->methodKind; + return (CppSharp::Parser::AST::CXXMethodKind)((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->methodKind; } void CppSharp::Parser::AST::Method::MethodKind::set(CppSharp::Parser::AST::CXXMethodKind value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->methodKind = (::CppSharp::CppParser::AST::CXXMethodKind)value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->methodKind = (enum ::CppSharp::CppParser::AST::CXXMethodKind)value; } bool CppSharp::Parser::AST::Method::IsDefaultConstructor::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isDefaultConstructor; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isDefaultConstructor; } void CppSharp::Parser::AST::Method::IsDefaultConstructor::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isDefaultConstructor = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isDefaultConstructor = value; } bool CppSharp::Parser::AST::Method::IsCopyConstructor::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isCopyConstructor; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isCopyConstructor; } void CppSharp::Parser::AST::Method::IsCopyConstructor::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isCopyConstructor = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isCopyConstructor = value; } bool CppSharp::Parser::AST::Method::IsMoveConstructor::get() { - return ((::CppSharp::CppParser::AST::Method*)NativePtr)->isMoveConstructor; + return ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isMoveConstructor; } void CppSharp::Parser::AST::Method::IsMoveConstructor::set(bool value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->isMoveConstructor = value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->isMoveConstructor = value; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Method::ConversionType::get() { - return (&((::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType); + return (&((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType); } void CppSharp::Parser::AST::Method::ConversionType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->conversionType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::RefQualifierKind CppSharp::Parser::AST::Method::RefQualifier::get() { - return (CppSharp::Parser::AST::RefQualifierKind)((::CppSharp::CppParser::AST::Method*)NativePtr)->refQualifier; + return (CppSharp::Parser::AST::RefQualifierKind)((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->refQualifier; } void CppSharp::Parser::AST::Method::RefQualifier::set(CppSharp::Parser::AST::RefQualifierKind value) { - ((::CppSharp::CppParser::AST::Method*)NativePtr)->refQualifier = (::CppSharp::CppParser::AST::RefQualifierKind)value; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->refQualifier = (enum ::CppSharp::CppParser::AST::RefQualifierKind)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Method::OverriddenMethods::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Method::OverriddenMethods::get() { - auto _tmp__OverriddenMethods = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Method*)NativePtr)->OverriddenMethods) + auto _tmp__OverriddenMethods = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->OverriddenMethods; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)_element); _tmp__OverriddenMethods->Add(_marshalElement); } return _tmp__OverriddenMethods; } -void CppSharp::Parser::AST::Method::OverriddenMethods::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Method::OverriddenMethods::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Method*>(); for each(CppSharp::Parser::AST::Method^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Method*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Method*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Method*)NativePtr)->OverriddenMethods = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->OverriddenMethods = _tmpvalue; } unsigned int CppSharp::Parser::AST::Method::OverriddenMethodsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Method*)NativePtr)->getOverriddenMethodsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Method*)NativePtr)->getOverriddenMethodsCount(); return __ret; } -CppSharp::Parser::AST::Enumeration::Item::Item(::CppSharp::CppParser::AST::Enumeration::Item* native) +CppSharp::Parser::AST::Enumeration::Item::Item(struct ::CppSharp::CppParser::AST::Enumeration::Item* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::Item::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Enumeration::Item((struct ::CppSharp::CppParser::AST::Enumeration::Item*) native.ToPointer()); } -CppSharp::Parser::AST::Enumeration::Item::Item(::CppSharp::CppParser::AST::Enumeration::Item* native, bool ownNativeInstance) +CppSharp::Parser::AST::Enumeration::Item::Item(struct ::CppSharp::CppParser::AST::Enumeration::Item* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::Item::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Enumeration::Item((struct ::CppSharp::CppParser::AST::Enumeration::Item*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Enumeration::Item::~Item() @@ -2130,7 +2145,7 @@ CppSharp::Parser::AST::Enumeration::Item::~Item() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Enumeration::Item*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Enumeration::Item*) __nativePtr; } } @@ -2138,7 +2153,7 @@ CppSharp::Parser::AST::Enumeration::Item::Item() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Enumeration::Item(); + NativePtr = new struct ::CppSharp::CppParser::AST::Enumeration::Item(); } CppSharp::Parser::AST::Enumeration::Item::Item(CppSharp::Parser::AST::Enumeration::Item^ _0) @@ -2147,48 +2162,48 @@ CppSharp::Parser::AST::Enumeration::Item::Item(CppSharp::Parser::AST::Enumeratio __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Enumeration::Item*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Enumeration::Item(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Enumeration::Item*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Enumeration::Item(__arg0); } -System::String^ CppSharp::Parser::AST::Enumeration::Item::Expression::get() +::System::String^ CppSharp::Parser::AST::Enumeration::Item::Expression::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->expression); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->expression); } -void CppSharp::Parser::AST::Enumeration::Item::Expression::set(System::String^ value) +void CppSharp::Parser::AST::Enumeration::Item::Expression::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->expression = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->expression = clix::marshalString(value); } unsigned long long CppSharp::Parser::AST::Enumeration::Item::Value::get() { - return ((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->value; } void CppSharp::Parser::AST::Enumeration::Item::Value::set(unsigned long long value) { - ((::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->value = (::uint64_t)value; + ((struct ::CppSharp::CppParser::AST::Enumeration::Item*)NativePtr)->value = (::uint64_t)value; } -CppSharp::Parser::AST::Enumeration::Enumeration(::CppSharp::CppParser::AST::Enumeration* native) +CppSharp::Parser::AST::Enumeration::Enumeration(struct ::CppSharp::CppParser::AST::Enumeration* native) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native) { } CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::Enumeration::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Enumeration((struct ::CppSharp::CppParser::AST::Enumeration*) native.ToPointer()); } -CppSharp::Parser::AST::Enumeration::Enumeration(::CppSharp::CppParser::AST::Enumeration* native, bool ownNativeInstance) +CppSharp::Parser::AST::Enumeration::Enumeration(struct ::CppSharp::CppParser::AST::Enumeration* native, bool ownNativeInstance) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native, ownNativeInstance) { } CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::Enumeration::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Enumeration((::CppSharp::CppParser::AST::Enumeration*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Enumeration((struct ::CppSharp::CppParser::AST::Enumeration*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Enumeration::~Enumeration() @@ -2197,7 +2212,7 @@ CppSharp::Parser::AST::Enumeration::~Enumeration() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Enumeration*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Enumeration*) __nativePtr; } } @@ -2205,35 +2220,35 @@ CppSharp::Parser::AST::Enumeration::Enumeration() : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Enumeration(); + NativePtr = new struct ::CppSharp::CppParser::AST::Enumeration(); } CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::GetItems(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItems(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItems(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((struct ::CppSharp::CppParser::AST::Enumeration::Item*)__ret); } void CppSharp::Parser::AST::Enumeration::AddItems(CppSharp::Parser::AST::Enumeration::Item^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Enumeration::Item*)s->NativePtr; - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->addItems(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Enumeration::Item*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->addItems(__arg0); } void CppSharp::Parser::AST::Enumeration::ClearItems() { - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->clearItems(); + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->clearItems(); } -CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::FindItemByName(System::String^ Name) +CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::FindItemByName(::System::String^ Name) { auto __arg0 = clix::marshalString(Name); - auto __ret = ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->FindItemByName(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->FindItemByName(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((struct ::CppSharp::CppParser::AST::Enumeration::Item*)__ret); } CppSharp::Parser::AST::Enumeration::Enumeration(CppSharp::Parser::AST::Enumeration^ _0) @@ -2242,86 +2257,87 @@ CppSharp::Parser::AST::Enumeration::Enumeration(CppSharp::Parser::AST::Enumerati __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Enumeration*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Enumeration(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Enumeration*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Enumeration(__arg0); } CppSharp::Parser::AST::Enumeration::EnumModifiers CppSharp::Parser::AST::Enumeration::Modifiers::get() { - return (CppSharp::Parser::AST::Enumeration::EnumModifiers)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->modifiers; + return (CppSharp::Parser::AST::Enumeration::EnumModifiers)((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->modifiers; } void CppSharp::Parser::AST::Enumeration::Modifiers::set(CppSharp::Parser::AST::Enumeration::EnumModifiers value) { - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->modifiers = (::CppSharp::CppParser::AST::Enumeration::EnumModifiers)value; + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->modifiers = (enum ::CppSharp::CppParser::AST::Enumeration::EnumModifiers)value; } CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Enumeration::Type::get() { - return (((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type); + return (((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*)((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type); } void CppSharp::Parser::AST::Enumeration::Type::set(CppSharp::Parser::AST::Type^ value) { - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type = (::CppSharp::CppParser::AST::Type*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->type = (struct ::CppSharp::CppParser::AST::Type*)value->NativePtr; } CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::Enumeration::BuiltinType::get() { - return (((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BuiltinType((::CppSharp::CppParser::AST::BuiltinType*)((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType); + return (((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BuiltinType((struct ::CppSharp::CppParser::AST::BuiltinType*)((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType); } void CppSharp::Parser::AST::Enumeration::BuiltinType::set(CppSharp::Parser::AST::BuiltinType^ value) { - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType = (::CppSharp::CppParser::AST::BuiltinType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->builtinType = (struct ::CppSharp::CppParser::AST::BuiltinType*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Enumeration::Items::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Enumeration::Items::get() { - auto _tmp__Items = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Items) + auto _tmp__Items = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Items; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((::CppSharp::CppParser::AST::Enumeration::Item*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Enumeration::Item((struct ::CppSharp::CppParser::AST::Enumeration::Item*)_element); _tmp__Items->Add(_marshalElement); } return _tmp__Items; } -void CppSharp::Parser::AST::Enumeration::Items::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Enumeration::Items::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Enumeration::Item*>(); for each(CppSharp::Parser::AST::Enumeration::Item^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Enumeration::Item*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Enumeration::Item*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Items = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->Items = _tmpvalue; } unsigned int CppSharp::Parser::AST::Enumeration::ItemsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItemsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Enumeration*)NativePtr)->getItemsCount(); return __ret; } -CppSharp::Parser::AST::Variable::Variable(::CppSharp::CppParser::AST::Variable* native) +CppSharp::Parser::AST::Variable::Variable(struct ::CppSharp::CppParser::AST::Variable* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::Variable::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Variable((struct ::CppSharp::CppParser::AST::Variable*) native.ToPointer()); } -CppSharp::Parser::AST::Variable::Variable(::CppSharp::CppParser::AST::Variable* native, bool ownNativeInstance) +CppSharp::Parser::AST::Variable::Variable(struct ::CppSharp::CppParser::AST::Variable* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::Variable::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Variable((struct ::CppSharp::CppParser::AST::Variable*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Variable::~Variable() @@ -2330,7 +2346,7 @@ CppSharp::Parser::AST::Variable::~Variable() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Variable*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Variable*) __nativePtr; } } @@ -2338,7 +2354,7 @@ CppSharp::Parser::AST::Variable::Variable() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Variable(); + NativePtr = new struct ::CppSharp::CppParser::AST::Variable(); } CppSharp::Parser::AST::Variable::Variable(CppSharp::Parser::AST::Variable^ _0) @@ -2347,53 +2363,53 @@ CppSharp::Parser::AST::Variable::Variable(CppSharp::Parser::AST::Variable^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Variable*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Variable(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Variable*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Variable(__arg0); } bool CppSharp::Parser::AST::Variable::IsConstExpr::get() { - return ((::CppSharp::CppParser::AST::Variable*)NativePtr)->isConstExpr; + return ((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->isConstExpr; } void CppSharp::Parser::AST::Variable::IsConstExpr::set(bool value) { - ((::CppSharp::CppParser::AST::Variable*)NativePtr)->isConstExpr = value; + ((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->isConstExpr = value; } -System::String^ CppSharp::Parser::AST::Variable::Mangled::get() +::System::String^ CppSharp::Parser::AST::Variable::Mangled::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::Variable*)NativePtr)->mangled); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->mangled); } -void CppSharp::Parser::AST::Variable::Mangled::set(System::String^ value) +void CppSharp::Parser::AST::Variable::Mangled::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::Variable*)NativePtr)->mangled = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->mangled = clix::marshalString(value); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Variable::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::Variable::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::Variable::Initializer::get() { - return (((::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)((::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer); + return (((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer); } void CppSharp::Parser::AST::Variable::Initializer::set(CppSharp::Parser::AST::ExpressionObsolete^ value) { - ((::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer = (::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Variable*)NativePtr)->initializer = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; } -CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(::CppSharp::CppParser::AST::BaseClassSpecifier* native) +CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(struct ::CppSharp::CppParser::AST::BaseClassSpecifier* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2401,10 +2417,10 @@ CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(::CppSharp::CppPar CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::BaseClassSpecifier::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*) native.ToPointer()); } -CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(::CppSharp::CppParser::AST::BaseClassSpecifier* native, bool ownNativeInstance) +CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(struct ::CppSharp::CppParser::AST::BaseClassSpecifier* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2412,7 +2428,7 @@ CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(::CppSharp::CppPar CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::BaseClassSpecifier::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BaseClassSpecifier::~BaseClassSpecifier() @@ -2423,7 +2439,7 @@ CppSharp::Parser::AST::BaseClassSpecifier::~BaseClassSpecifier() CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BaseClassSpecifier(); + NativePtr = new struct ::CppSharp::CppParser::AST::BaseClassSpecifier(); } CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(CppSharp::Parser::AST::BaseClassSpecifier^ _0) @@ -2431,78 +2447,78 @@ CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BaseClassSpecifier*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BaseClassSpecifier(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BaseClassSpecifier(__arg0); } -System::IntPtr CppSharp::Parser::AST::BaseClassSpecifier::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::BaseClassSpecifier::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::BaseClassSpecifier::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::BaseClassSpecifier::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::BaseClassSpecifier*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)object.ToPointer(); } CppSharp::Parser::AST::AccessSpecifier CppSharp::Parser::AST::BaseClassSpecifier::Access::get() { - return (CppSharp::Parser::AST::AccessSpecifier)((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->access; + return (CppSharp::Parser::AST::AccessSpecifier)NativePtr->access; } void CppSharp::Parser::AST::BaseClassSpecifier::Access::set(CppSharp::Parser::AST::AccessSpecifier value) { - ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->access = (::CppSharp::CppParser::AST::AccessSpecifier)value; + ((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->access = (enum ::CppSharp::CppParser::AST::AccessSpecifier)value; } bool CppSharp::Parser::AST::BaseClassSpecifier::IsVirtual::get() { - return ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->isVirtual; + return NativePtr->isVirtual; } void CppSharp::Parser::AST::BaseClassSpecifier::IsVirtual::set(bool value) { - ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->isVirtual = value; + ((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->isVirtual = value; } CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::BaseClassSpecifier::Type::get() { - return (((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->type); + return (NativePtr->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*)NativePtr->type); } void CppSharp::Parser::AST::BaseClassSpecifier::Type::set(CppSharp::Parser::AST::Type^ value) { - ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->type = (::CppSharp::CppParser::AST::Type*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->type = (struct ::CppSharp::CppParser::AST::Type*)value->NativePtr; } int CppSharp::Parser::AST::BaseClassSpecifier::Offset::get() { - return ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->offset; + return NativePtr->offset; } void CppSharp::Parser::AST::BaseClassSpecifier::Offset::set(int value) { - ((::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->offset = value; + ((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)NativePtr)->offset = value; } -CppSharp::Parser::AST::Field::Field(::CppSharp::CppParser::AST::Field* native) +CppSharp::Parser::AST::Field::Field(struct ::CppSharp::CppParser::AST::Field* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Field::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*) native.ToPointer()); } -CppSharp::Parser::AST::Field::Field(::CppSharp::CppParser::AST::Field* native, bool ownNativeInstance) +CppSharp::Parser::AST::Field::Field(struct ::CppSharp::CppParser::AST::Field* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Field::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Field::~Field() @@ -2511,7 +2527,7 @@ CppSharp::Parser::AST::Field::~Field() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Field*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Field*) __nativePtr; } } @@ -2519,7 +2535,7 @@ CppSharp::Parser::AST::Field::Field() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Field(); + NativePtr = new struct ::CppSharp::CppParser::AST::Field(); } CppSharp::Parser::AST::Field::Field(CppSharp::Parser::AST::Field^ _0) @@ -2528,70 +2544,70 @@ CppSharp::Parser::AST::Field::Field(CppSharp::Parser::AST::Field^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Field*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Field(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Field*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Field(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Field::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::Field::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Field::Class::get() { - return (((::CppSharp::CppParser::AST::Field*)NativePtr)->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)((::CppSharp::CppParser::AST::Field*)NativePtr)->_class); + return (((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*)((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->_class); } void CppSharp::Parser::AST::Field::Class::set(CppSharp::Parser::AST::Class^ value) { - ((::CppSharp::CppParser::AST::Field*)NativePtr)->_class = (::CppSharp::CppParser::AST::Class*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->_class = (struct ::CppSharp::CppParser::AST::Class*)value->NativePtr; } bool CppSharp::Parser::AST::Field::IsBitField::get() { - return ((::CppSharp::CppParser::AST::Field*)NativePtr)->isBitField; + return ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->isBitField; } void CppSharp::Parser::AST::Field::IsBitField::set(bool value) { - ((::CppSharp::CppParser::AST::Field*)NativePtr)->isBitField = value; + ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->isBitField = value; } unsigned int CppSharp::Parser::AST::Field::BitWidth::get() { - return ((::CppSharp::CppParser::AST::Field*)NativePtr)->bitWidth; + return ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->bitWidth; } void CppSharp::Parser::AST::Field::BitWidth::set(unsigned int value) { - ((::CppSharp::CppParser::AST::Field*)NativePtr)->bitWidth = value; + ((struct ::CppSharp::CppParser::AST::Field*)NativePtr)->bitWidth = value; } -CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(::CppSharp::CppParser::AST::AccessSpecifierDecl* native) +CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(struct ::CppSharp::CppParser::AST::AccessSpecifierDecl* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::AccessSpecifierDecl::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*) native.ToPointer()); } -CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(::CppSharp::CppParser::AST::AccessSpecifierDecl* native, bool ownNativeInstance) +CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(struct ::CppSharp::CppParser::AST::AccessSpecifierDecl* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::AccessSpecifierDecl::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AccessSpecifierDecl::~AccessSpecifierDecl() @@ -2600,7 +2616,7 @@ CppSharp::Parser::AST::AccessSpecifierDecl::~AccessSpecifierDecl() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::AccessSpecifierDecl*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*) __nativePtr; } } @@ -2608,7 +2624,7 @@ CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AccessSpecifierDecl(); + NativePtr = new struct ::CppSharp::CppParser::AST::AccessSpecifierDecl(); } CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(CppSharp::Parser::AST::AccessSpecifierDecl^ _0) @@ -2617,11 +2633,11 @@ CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AccessSpecifierDecl*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AccessSpecifierDecl(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AccessSpecifierDecl(__arg0); } -CppSharp::Parser::AST::VTableComponent::VTableComponent(::CppSharp::CppParser::AST::VTableComponent* native) +CppSharp::Parser::AST::VTableComponent::VTableComponent(struct ::CppSharp::CppParser::AST::VTableComponent* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2629,10 +2645,10 @@ CppSharp::Parser::AST::VTableComponent::VTableComponent(::CppSharp::CppParser::A CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableComponent::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VTableComponent((struct ::CppSharp::CppParser::AST::VTableComponent*) native.ToPointer()); } -CppSharp::Parser::AST::VTableComponent::VTableComponent(::CppSharp::CppParser::AST::VTableComponent* native, bool ownNativeInstance) +CppSharp::Parser::AST::VTableComponent::VTableComponent(struct ::CppSharp::CppParser::AST::VTableComponent* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2640,7 +2656,7 @@ CppSharp::Parser::AST::VTableComponent::VTableComponent(::CppSharp::CppParser::A CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableComponent::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VTableComponent((struct ::CppSharp::CppParser::AST::VTableComponent*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VTableComponent::~VTableComponent() @@ -2651,7 +2667,7 @@ CppSharp::Parser::AST::VTableComponent::~VTableComponent() CppSharp::Parser::AST::VTableComponent::VTableComponent() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VTableComponent(); + NativePtr = new struct ::CppSharp::CppParser::AST::VTableComponent(); } CppSharp::Parser::AST::VTableComponent::VTableComponent(CppSharp::Parser::AST::VTableComponent^ _0) @@ -2659,51 +2675,51 @@ CppSharp::Parser::AST::VTableComponent::VTableComponent(CppSharp::Parser::AST::V __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VTableComponent*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VTableComponent(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VTableComponent*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VTableComponent(__arg0); } -System::IntPtr CppSharp::Parser::AST::VTableComponent::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::VTableComponent::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::VTableComponent::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::VTableComponent::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::VTableComponent*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::VTableComponent*)object.ToPointer(); } CppSharp::Parser::AST::VTableComponentKind CppSharp::Parser::AST::VTableComponent::Kind::get() { - return (CppSharp::Parser::AST::VTableComponentKind)((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->kind; + return (CppSharp::Parser::AST::VTableComponentKind)NativePtr->kind; } void CppSharp::Parser::AST::VTableComponent::Kind::set(CppSharp::Parser::AST::VTableComponentKind value) { - ((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->kind = (::CppSharp::CppParser::AST::VTableComponentKind)value; + ((struct ::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::VTableComponentKind)value; } unsigned int CppSharp::Parser::AST::VTableComponent::Offset::get() { - return ((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->offset; + return NativePtr->offset; } void CppSharp::Parser::AST::VTableComponent::Offset::set(unsigned int value) { - ((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->offset = value; + ((struct ::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->offset = value; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::VTableComponent::Declaration::get() { - return (((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->declaration); + return (NativePtr->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr->declaration); } void CppSharp::Parser::AST::VTableComponent::Declaration::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::VTableComponent*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } -CppSharp::Parser::AST::VTableLayout::VTableLayout(::CppSharp::CppParser::AST::VTableLayout* native) +CppSharp::Parser::AST::VTableLayout::VTableLayout(struct ::CppSharp::CppParser::AST::VTableLayout* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2711,10 +2727,10 @@ CppSharp::Parser::AST::VTableLayout::VTableLayout(::CppSharp::CppParser::AST::VT CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VTableLayout::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VTableLayout((struct ::CppSharp::CppParser::AST::VTableLayout*) native.ToPointer()); } -CppSharp::Parser::AST::VTableLayout::VTableLayout(::CppSharp::CppParser::AST::VTableLayout* native, bool ownNativeInstance) +CppSharp::Parser::AST::VTableLayout::VTableLayout(struct ::CppSharp::CppParser::AST::VTableLayout* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2722,7 +2738,7 @@ CppSharp::Parser::AST::VTableLayout::VTableLayout(::CppSharp::CppParser::AST::VT CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VTableLayout::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VTableLayout((struct ::CppSharp::CppParser::AST::VTableLayout*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VTableLayout::~VTableLayout() @@ -2733,7 +2749,7 @@ CppSharp::Parser::AST::VTableLayout::~VTableLayout() CppSharp::Parser::AST::VTableLayout::VTableLayout() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VTableLayout(); + NativePtr = new struct ::CppSharp::CppParser::AST::VTableLayout(); } CppSharp::Parser::AST::VTableLayout::VTableLayout(CppSharp::Parser::AST::VTableLayout^ _0) @@ -2741,72 +2757,73 @@ CppSharp::Parser::AST::VTableLayout::VTableLayout(CppSharp::Parser::AST::VTableL __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VTableLayout*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VTableLayout(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VTableLayout*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VTableLayout(__arg0); } CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableLayout::GetComponents(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponents(i); - auto ____ret = new ::CppSharp::CppParser::AST::VTableComponent(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponents(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::VTableComponent(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableComponent((struct ::CppSharp::CppParser::AST::VTableComponent*)____ret, true); } void CppSharp::Parser::AST::VTableLayout::AddComponents(CppSharp::Parser::AST::VTableComponent^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VTableComponent*)s->NativePtr; - ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->addComponents(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VTableComponent*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->addComponents(__arg0); } void CppSharp::Parser::AST::VTableLayout::ClearComponents() { - ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->clearComponents(); + ((struct ::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->clearComponents(); } -System::IntPtr CppSharp::Parser::AST::VTableLayout::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::VTableLayout::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::VTableLayout::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::VTableLayout::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::VTableLayout*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::VTableLayout*)object.ToPointer(); } -System::Collections::Generic::List^ CppSharp::Parser::AST::VTableLayout::Components::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::VTableLayout::Components::get() { - auto _tmp__Components = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->Components) + auto _tmp__Components = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Components; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::VTableComponent(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableComponent((::CppSharp::CppParser::AST::VTableComponent*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::VTableComponent(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableComponent((struct ::CppSharp::CppParser::AST::VTableComponent*)___element, true); _tmp__Components->Add(_marshalElement); } return _tmp__Components; } -void CppSharp::Parser::AST::VTableLayout::Components::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::VTableLayout::Components::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::VTableComponent>(); for each(CppSharp::Parser::AST::VTableComponent^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::VTableComponent*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::VTableComponent*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->Components = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->Components = _tmpvalue; } unsigned int CppSharp::Parser::AST::VTableLayout::ComponentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::VTableLayout*)NativePtr)->getComponentsCount(); return __ret; } -CppSharp::Parser::AST::VFTableInfo::VFTableInfo(::CppSharp::CppParser::AST::VFTableInfo* native) +CppSharp::Parser::AST::VFTableInfo::VFTableInfo(struct ::CppSharp::CppParser::AST::VFTableInfo* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2814,10 +2831,10 @@ CppSharp::Parser::AST::VFTableInfo::VFTableInfo(::CppSharp::CppParser::AST::VFTa CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::VFTableInfo::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VFTableInfo((struct ::CppSharp::CppParser::AST::VFTableInfo*) native.ToPointer()); } -CppSharp::Parser::AST::VFTableInfo::VFTableInfo(::CppSharp::CppParser::AST::VFTableInfo* native, bool ownNativeInstance) +CppSharp::Parser::AST::VFTableInfo::VFTableInfo(struct ::CppSharp::CppParser::AST::VFTableInfo* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2825,7 +2842,7 @@ CppSharp::Parser::AST::VFTableInfo::VFTableInfo(::CppSharp::CppParser::AST::VFTa CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::VFTableInfo::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VFTableInfo((struct ::CppSharp::CppParser::AST::VFTableInfo*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VFTableInfo::~VFTableInfo() @@ -2836,7 +2853,7 @@ CppSharp::Parser::AST::VFTableInfo::~VFTableInfo() CppSharp::Parser::AST::VFTableInfo::VFTableInfo() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VFTableInfo(); + NativePtr = new struct ::CppSharp::CppParser::AST::VFTableInfo(); } CppSharp::Parser::AST::VFTableInfo::VFTableInfo(CppSharp::Parser::AST::VFTableInfo^ _0) @@ -2844,63 +2861,63 @@ CppSharp::Parser::AST::VFTableInfo::VFTableInfo(CppSharp::Parser::AST::VFTableIn __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VFTableInfo*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VFTableInfo(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VFTableInfo*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VFTableInfo(__arg0); } -System::IntPtr CppSharp::Parser::AST::VFTableInfo::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::VFTableInfo::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::VFTableInfo::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::VFTableInfo::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::VFTableInfo*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::VFTableInfo*)object.ToPointer(); } unsigned long long CppSharp::Parser::AST::VFTableInfo::VBTableIndex::get() { - return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VBTableIndex; + return NativePtr->VBTableIndex; } void CppSharp::Parser::AST::VFTableInfo::VBTableIndex::set(unsigned long long value) { - ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VBTableIndex = (::uint64_t)value; + ((struct ::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VBTableIndex = (::uint64_t)value; } unsigned int CppSharp::Parser::AST::VFTableInfo::VFPtrOffset::get() { - return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrOffset; + return NativePtr->VFPtrOffset; } void CppSharp::Parser::AST::VFTableInfo::VFPtrOffset::set(unsigned int value) { - ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrOffset = (::uint32_t)value; + ((struct ::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrOffset = (::uint32_t)value; } unsigned int CppSharp::Parser::AST::VFTableInfo::VFPtrFullOffset::get() { - return ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrFullOffset; + return NativePtr->VFPtrFullOffset; } void CppSharp::Parser::AST::VFTableInfo::VFPtrFullOffset::set(unsigned int value) { - ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrFullOffset = (::uint32_t)value; + ((struct ::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->VFPtrFullOffset = (::uint32_t)value; } CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::VFTableInfo::Layout::get() { - return (&((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*)&((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->layout); + return (&NativePtr->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableLayout((struct ::CppSharp::CppParser::AST::VTableLayout*)&NativePtr->layout); } void CppSharp::Parser::AST::VFTableInfo::Layout::set(CppSharp::Parser::AST::VTableLayout^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->layout = *(::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::VFTableInfo*)NativePtr)->layout = *(struct ::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr; } -CppSharp::Parser::AST::LayoutField::LayoutField(::CppSharp::CppParser::AST::LayoutField* native) +CppSharp::Parser::AST::LayoutField::LayoutField(struct ::CppSharp::CppParser::AST::LayoutField* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2908,10 +2925,10 @@ CppSharp::Parser::AST::LayoutField::LayoutField(::CppSharp::CppParser::AST::Layo CppSharp::Parser::AST::LayoutField^ CppSharp::Parser::AST::LayoutField::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::LayoutField((::CppSharp::CppParser::AST::LayoutField*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::LayoutField((struct ::CppSharp::CppParser::AST::LayoutField*) native.ToPointer()); } -CppSharp::Parser::AST::LayoutField::LayoutField(::CppSharp::CppParser::AST::LayoutField* native, bool ownNativeInstance) +CppSharp::Parser::AST::LayoutField::LayoutField(struct ::CppSharp::CppParser::AST::LayoutField* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2919,7 +2936,7 @@ CppSharp::Parser::AST::LayoutField::LayoutField(::CppSharp::CppParser::AST::Layo CppSharp::Parser::AST::LayoutField^ CppSharp::Parser::AST::LayoutField::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::LayoutField((::CppSharp::CppParser::AST::LayoutField*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::LayoutField((struct ::CppSharp::CppParser::AST::LayoutField*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::LayoutField::~LayoutField() @@ -2930,7 +2947,7 @@ CppSharp::Parser::AST::LayoutField::~LayoutField() CppSharp::Parser::AST::LayoutField::LayoutField() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::LayoutField(); + NativePtr = new struct ::CppSharp::CppParser::AST::LayoutField(); } CppSharp::Parser::AST::LayoutField::LayoutField(CppSharp::Parser::AST::LayoutField^ other) @@ -2938,63 +2955,63 @@ CppSharp::Parser::AST::LayoutField::LayoutField(CppSharp::Parser::AST::LayoutFie __ownsNativeInstance = true; if (ReferenceEquals(other, nullptr)) throw gcnew ::System::ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LayoutField*)other->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::LayoutField(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LayoutField*)other->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::LayoutField(__arg0); } -System::IntPtr CppSharp::Parser::AST::LayoutField::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::LayoutField::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::LayoutField::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::LayoutField::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::LayoutField*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::LayoutField*)object.ToPointer(); } unsigned int CppSharp::Parser::AST::LayoutField::Offset::get() { - return ((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->offset; + return NativePtr->offset; } void CppSharp::Parser::AST::LayoutField::Offset::set(unsigned int value) { - ((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->offset = value; + ((struct ::CppSharp::CppParser::AST::LayoutField*)NativePtr)->offset = value; } -System::String^ CppSharp::Parser::AST::LayoutField::Name::get() +::System::String^ CppSharp::Parser::AST::LayoutField::Name::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->name); + return clix::marshalString(NativePtr->name); } -void CppSharp::Parser::AST::LayoutField::Name::set(System::String^ value) +void CppSharp::Parser::AST::LayoutField::Name::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->name = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::LayoutField*)NativePtr)->name = clix::marshalString(value); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::LayoutField::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->qualifiedType); + return (&NativePtr->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&NativePtr->qualifiedType); } void CppSharp::Parser::AST::LayoutField::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LayoutField*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } ::System::IntPtr CppSharp::Parser::AST::LayoutField::FieldPtr::get() { - return ::System::IntPtr(((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->fieldPtr); + return ::System::IntPtr(NativePtr->fieldPtr); } void CppSharp::Parser::AST::LayoutField::FieldPtr::set(::System::IntPtr value) { - ((::CppSharp::CppParser::AST::LayoutField*)NativePtr)->fieldPtr = (void*)value; + ((struct ::CppSharp::CppParser::AST::LayoutField*)NativePtr)->fieldPtr = (void*)value; } -CppSharp::Parser::AST::LayoutBase::LayoutBase(::CppSharp::CppParser::AST::LayoutBase* native) +CppSharp::Parser::AST::LayoutBase::LayoutBase(struct ::CppSharp::CppParser::AST::LayoutBase* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -3002,10 +3019,10 @@ CppSharp::Parser::AST::LayoutBase::LayoutBase(::CppSharp::CppParser::AST::Layout CppSharp::Parser::AST::LayoutBase^ CppSharp::Parser::AST::LayoutBase::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::LayoutBase((::CppSharp::CppParser::AST::LayoutBase*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::LayoutBase((struct ::CppSharp::CppParser::AST::LayoutBase*) native.ToPointer()); } -CppSharp::Parser::AST::LayoutBase::LayoutBase(::CppSharp::CppParser::AST::LayoutBase* native, bool ownNativeInstance) +CppSharp::Parser::AST::LayoutBase::LayoutBase(struct ::CppSharp::CppParser::AST::LayoutBase* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -3013,7 +3030,7 @@ CppSharp::Parser::AST::LayoutBase::LayoutBase(::CppSharp::CppParser::AST::Layout CppSharp::Parser::AST::LayoutBase^ CppSharp::Parser::AST::LayoutBase::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::LayoutBase((::CppSharp::CppParser::AST::LayoutBase*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::LayoutBase((struct ::CppSharp::CppParser::AST::LayoutBase*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::LayoutBase::~LayoutBase() @@ -3024,7 +3041,7 @@ CppSharp::Parser::AST::LayoutBase::~LayoutBase() CppSharp::Parser::AST::LayoutBase::LayoutBase() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::LayoutBase(); + NativePtr = new struct ::CppSharp::CppParser::AST::LayoutBase(); } CppSharp::Parser::AST::LayoutBase::LayoutBase(CppSharp::Parser::AST::LayoutBase^ other) @@ -3032,41 +3049,41 @@ CppSharp::Parser::AST::LayoutBase::LayoutBase(CppSharp::Parser::AST::LayoutBase^ __ownsNativeInstance = true; if (ReferenceEquals(other, nullptr)) throw gcnew ::System::ArgumentNullException("other", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LayoutBase*)other->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::LayoutBase(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LayoutBase*)other->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::LayoutBase(__arg0); } -System::IntPtr CppSharp::Parser::AST::LayoutBase::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::LayoutBase::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::LayoutBase::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::LayoutBase::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::LayoutBase*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::LayoutBase*)object.ToPointer(); } unsigned int CppSharp::Parser::AST::LayoutBase::Offset::get() { - return ((::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->offset; + return NativePtr->offset; } void CppSharp::Parser::AST::LayoutBase::Offset::set(unsigned int value) { - ((::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->offset = value; + ((struct ::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->offset = value; } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::LayoutBase::Class::get() { - return (((::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)((::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->_class); + return (NativePtr->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*)NativePtr->_class); } void CppSharp::Parser::AST::LayoutBase::Class::set(CppSharp::Parser::AST::Class^ value) { - ((::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->_class = (::CppSharp::CppParser::AST::Class*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LayoutBase*)NativePtr)->_class = (struct ::CppSharp::CppParser::AST::Class*)value->NativePtr; } -CppSharp::Parser::AST::ClassLayout::ClassLayout(::CppSharp::CppParser::AST::ClassLayout* native) +CppSharp::Parser::AST::ClassLayout::ClassLayout(struct ::CppSharp::CppParser::AST::ClassLayout* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -3074,10 +3091,10 @@ CppSharp::Parser::AST::ClassLayout::ClassLayout(::CppSharp::CppParser::AST::Clas CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::ClassLayout::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ClassLayout((::CppSharp::CppParser::AST::ClassLayout*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ClassLayout((struct ::CppSharp::CppParser::AST::ClassLayout*) native.ToPointer()); } -CppSharp::Parser::AST::ClassLayout::ClassLayout(::CppSharp::CppParser::AST::ClassLayout* native, bool ownNativeInstance) +CppSharp::Parser::AST::ClassLayout::ClassLayout(struct ::CppSharp::CppParser::AST::ClassLayout* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -3085,7 +3102,7 @@ CppSharp::Parser::AST::ClassLayout::ClassLayout(::CppSharp::CppParser::AST::Clas CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::ClassLayout::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ClassLayout((::CppSharp::CppParser::AST::ClassLayout*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ClassLayout((struct ::CppSharp::CppParser::AST::ClassLayout*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ClassLayout::~ClassLayout() @@ -3096,67 +3113,67 @@ CppSharp::Parser::AST::ClassLayout::~ClassLayout() CppSharp::Parser::AST::ClassLayout::ClassLayout() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ClassLayout(); + NativePtr = new struct ::CppSharp::CppParser::AST::ClassLayout(); } CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::ClassLayout::GetVFTables(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTables(i); - auto ____ret = new ::CppSharp::CppParser::AST::VFTableInfo(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTables(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::VFTableInfo(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VFTableInfo((struct ::CppSharp::CppParser::AST::VFTableInfo*)____ret, true); } void CppSharp::Parser::AST::ClassLayout::AddVFTables(CppSharp::Parser::AST::VFTableInfo^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VFTableInfo*)s->NativePtr; - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addVFTables(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VFTableInfo*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addVFTables(__arg0); } void CppSharp::Parser::AST::ClassLayout::ClearVFTables() { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearVFTables(); + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearVFTables(); } CppSharp::Parser::AST::LayoutField^ CppSharp::Parser::AST::ClassLayout::GetFields(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getFields(i); - auto ____ret = new ::CppSharp::CppParser::AST::LayoutField(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutField((::CppSharp::CppParser::AST::LayoutField*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getFields(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::LayoutField(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutField((struct ::CppSharp::CppParser::AST::LayoutField*)____ret, true); } void CppSharp::Parser::AST::ClassLayout::AddFields(CppSharp::Parser::AST::LayoutField^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LayoutField*)s->NativePtr; - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addFields(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LayoutField*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addFields(__arg0); } void CppSharp::Parser::AST::ClassLayout::ClearFields() { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearFields(); + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearFields(); } CppSharp::Parser::AST::LayoutBase^ CppSharp::Parser::AST::ClassLayout::GetBases(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getBases(i); - auto ____ret = new ::CppSharp::CppParser::AST::LayoutBase(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutBase((::CppSharp::CppParser::AST::LayoutBase*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getBases(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::LayoutBase(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutBase((struct ::CppSharp::CppParser::AST::LayoutBase*)____ret, true); } void CppSharp::Parser::AST::ClassLayout::AddBases(CppSharp::Parser::AST::LayoutBase^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LayoutBase*)s->NativePtr; - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addBases(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LayoutBase*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->addBases(__arg0); } void CppSharp::Parser::AST::ClassLayout::ClearBases() { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearBases(); + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->clearBases(); } CppSharp::Parser::AST::ClassLayout::ClassLayout(CppSharp::Parser::AST::ClassLayout^ _0) @@ -3164,213 +3181,216 @@ CppSharp::Parser::AST::ClassLayout::ClassLayout(CppSharp::Parser::AST::ClassLayo __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ClassLayout*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ClassLayout(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ClassLayout*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ClassLayout(__arg0); } -System::IntPtr CppSharp::Parser::AST::ClassLayout::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::ClassLayout::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::ClassLayout::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::ClassLayout::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::ClassLayout*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::ClassLayout*)object.ToPointer(); } CppSharp::Parser::AST::CppAbi CppSharp::Parser::AST::ClassLayout::ABI::get() { - return (CppSharp::Parser::AST::CppAbi)((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->ABI; + return (CppSharp::Parser::AST::CppAbi)NativePtr->ABI; } void CppSharp::Parser::AST::ClassLayout::ABI::set(CppSharp::Parser::AST::CppAbi value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->ABI = (::CppSharp::CppParser::AST::CppAbi)value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->ABI = (enum ::CppSharp::CppParser::AST::CppAbi)value; } CppSharp::Parser::AST::RecordArgABI CppSharp::Parser::AST::ClassLayout::ArgABI::get() { - return (CppSharp::Parser::AST::RecordArgABI)((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->argABI; + return (CppSharp::Parser::AST::RecordArgABI)NativePtr->argABI; } void CppSharp::Parser::AST::ClassLayout::ArgABI::set(CppSharp::Parser::AST::RecordArgABI value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->argABI = (::CppSharp::CppParser::AST::RecordArgABI)value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->argABI = (enum ::CppSharp::CppParser::AST::RecordArgABI)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::VFTables::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::VFTables::get() { - auto _tmp__VFTables = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VFTables) + auto _tmp__VFTables = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->VFTables; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::VFTableInfo(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VFTableInfo((::CppSharp::CppParser::AST::VFTableInfo*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::VFTableInfo(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VFTableInfo((struct ::CppSharp::CppParser::AST::VFTableInfo*)___element, true); _tmp__VFTables->Add(_marshalElement); } return _tmp__VFTables; } -void CppSharp::Parser::AST::ClassLayout::VFTables::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ClassLayout::VFTables::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::VFTableInfo>(); for each(CppSharp::Parser::AST::VFTableInfo^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::VFTableInfo*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::VFTableInfo*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VFTables = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VFTables = _tmpvalue; } CppSharp::Parser::AST::VTableLayout^ CppSharp::Parser::AST::ClassLayout::Layout::get() { - return (&((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableLayout((::CppSharp::CppParser::AST::VTableLayout*)&((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->layout); + return (&NativePtr->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VTableLayout((struct ::CppSharp::CppParser::AST::VTableLayout*)&NativePtr->layout); } void CppSharp::Parser::AST::ClassLayout::Layout::set(CppSharp::Parser::AST::VTableLayout^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->layout = *(::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->layout = *(struct ::CppSharp::CppParser::AST::VTableLayout*)value->NativePtr; } bool CppSharp::Parser::AST::ClassLayout::HasOwnVFPtr::get() { - return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->hasOwnVFPtr; + return NativePtr->hasOwnVFPtr; } void CppSharp::Parser::AST::ClassLayout::HasOwnVFPtr::set(bool value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->hasOwnVFPtr = value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->hasOwnVFPtr = value; } long CppSharp::Parser::AST::ClassLayout::VBPtrOffset::get() { - return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VBPtrOffset; + return NativePtr->VBPtrOffset; } void CppSharp::Parser::AST::ClassLayout::VBPtrOffset::set(long value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VBPtrOffset = value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->VBPtrOffset = value; } int CppSharp::Parser::AST::ClassLayout::Alignment::get() { - return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->alignment; + return NativePtr->alignment; } void CppSharp::Parser::AST::ClassLayout::Alignment::set(int value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->alignment = value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->alignment = value; } int CppSharp::Parser::AST::ClassLayout::Size::get() { - return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->size; + return NativePtr->size; } void CppSharp::Parser::AST::ClassLayout::Size::set(int value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->size = value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->size = value; } int CppSharp::Parser::AST::ClassLayout::DataSize::get() { - return ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->dataSize; + return NativePtr->dataSize; } void CppSharp::Parser::AST::ClassLayout::DataSize::set(int value) { - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->dataSize = value; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->dataSize = value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::Fields::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::Fields::get() { - auto _tmp__Fields = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Fields) + auto _tmp__Fields = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Fields; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::LayoutField(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutField((::CppSharp::CppParser::AST::LayoutField*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::LayoutField(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutField((struct ::CppSharp::CppParser::AST::LayoutField*)___element, true); _tmp__Fields->Add(_marshalElement); } return _tmp__Fields; } -void CppSharp::Parser::AST::ClassLayout::Fields::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ClassLayout::Fields::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::LayoutField>(); for each(CppSharp::Parser::AST::LayoutField^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::LayoutField*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::LayoutField*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Fields = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Fields = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::Bases::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ClassLayout::Bases::get() { - auto _tmp__Bases = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Bases) + auto _tmp__Bases = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Bases; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::LayoutBase(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutBase((::CppSharp::CppParser::AST::LayoutBase*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::LayoutBase(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::LayoutBase((struct ::CppSharp::CppParser::AST::LayoutBase*)___element, true); _tmp__Bases->Add(_marshalElement); } return _tmp__Bases; } -void CppSharp::Parser::AST::ClassLayout::Bases::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ClassLayout::Bases::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::LayoutBase>(); for each(CppSharp::Parser::AST::LayoutBase^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::LayoutBase*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::LayoutBase*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Bases = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->Bases = _tmpvalue; } unsigned int CppSharp::Parser::AST::ClassLayout::VFTablesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTablesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getVFTablesCount(); return __ret; } unsigned int CppSharp::Parser::AST::ClassLayout::FieldsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getFieldsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getFieldsCount(); return __ret; } unsigned int CppSharp::Parser::AST::ClassLayout::BasesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getBasesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassLayout*)NativePtr)->getBasesCount(); return __ret; } -CppSharp::Parser::AST::Class::Class(::CppSharp::CppParser::AST::Class* native) +CppSharp::Parser::AST::Class::Class(struct ::CppSharp::CppParser::AST::Class* native) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native) { } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Class::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*) native.ToPointer()); } -CppSharp::Parser::AST::Class::Class(::CppSharp::CppParser::AST::Class* native, bool ownNativeInstance) +CppSharp::Parser::AST::Class::Class(struct ::CppSharp::CppParser::AST::Class* native, bool ownNativeInstance) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native, ownNativeInstance) { } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::Class::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Class::~Class() @@ -3379,7 +3399,7 @@ CppSharp::Parser::AST::Class::~Class() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Class*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Class*) __nativePtr; } } @@ -3387,87 +3407,87 @@ CppSharp::Parser::AST::Class::Class() : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Class(); + NativePtr = new struct ::CppSharp::CppParser::AST::Class(); } CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::Class::GetBases(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getBases(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getBases(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)__ret); } void CppSharp::Parser::AST::Class::AddBases(CppSharp::Parser::AST::BaseClassSpecifier^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::BaseClassSpecifier*)s->NativePtr; - ((::CppSharp::CppParser::AST::Class*)NativePtr)->addBases(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->addBases(__arg0); } void CppSharp::Parser::AST::Class::ClearBases() { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->clearBases(); + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->clearBases(); } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Class::GetFields(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getFields(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getFields(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*)__ret); } void CppSharp::Parser::AST::Class::AddFields(CppSharp::Parser::AST::Field^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Field*)s->NativePtr; - ((::CppSharp::CppParser::AST::Class*)NativePtr)->addFields(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Field*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->addFields(__arg0); } void CppSharp::Parser::AST::Class::ClearFields() { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->clearFields(); + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->clearFields(); } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Class::GetMethods(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getMethods(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getMethods(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)__ret); } void CppSharp::Parser::AST::Class::AddMethods(CppSharp::Parser::AST::Method^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Method*)s->NativePtr; - ((::CppSharp::CppParser::AST::Class*)NativePtr)->addMethods(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Method*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->addMethods(__arg0); } void CppSharp::Parser::AST::Class::ClearMethods() { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->clearMethods(); + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->clearMethods(); } CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::Class::GetSpecifiers(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiers(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiers(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*)__ret); } void CppSharp::Parser::AST::Class::AddSpecifiers(CppSharp::Parser::AST::AccessSpecifierDecl^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::AccessSpecifierDecl*)s->NativePtr; - ((::CppSharp::CppParser::AST::Class*)NativePtr)->addSpecifiers(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->addSpecifiers(__arg0); } void CppSharp::Parser::AST::Class::ClearSpecifiers() { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->clearSpecifiers(); + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->clearSpecifiers(); } CppSharp::Parser::AST::Class::Class(CppSharp::Parser::AST::Class^ _0) @@ -3476,250 +3496,254 @@ CppSharp::Parser::AST::Class::Class(CppSharp::Parser::AST::Class^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Class*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Class(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Class*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Class(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Bases::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Bases::get() { - auto _tmp__Bases = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Class*)NativePtr)->Bases) + auto _tmp__Bases = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Bases; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((::CppSharp::CppParser::AST::BaseClassSpecifier*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BaseClassSpecifier((struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)_element); _tmp__Bases->Add(_marshalElement); } return _tmp__Bases; } -void CppSharp::Parser::AST::Class::Bases::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Class::Bases::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::BaseClassSpecifier*>(); for each(CppSharp::Parser::AST::BaseClassSpecifier^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::BaseClassSpecifier*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::BaseClassSpecifier*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Class*)NativePtr)->Bases = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Bases = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Fields::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Fields::get() { - auto _tmp__Fields = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Class*)NativePtr)->Fields) + auto _tmp__Fields = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Fields; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*)_element); _tmp__Fields->Add(_marshalElement); } return _tmp__Fields; } -void CppSharp::Parser::AST::Class::Fields::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Class::Fields::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Field*>(); for each(CppSharp::Parser::AST::Field^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Field*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Field*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Class*)NativePtr)->Fields = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Fields = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Methods::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Methods::get() { - auto _tmp__Methods = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Class*)NativePtr)->Methods) + auto _tmp__Methods = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Methods; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)_element); _tmp__Methods->Add(_marshalElement); } return _tmp__Methods; } -void CppSharp::Parser::AST::Class::Methods::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Class::Methods::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Method*>(); for each(CppSharp::Parser::AST::Method^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Method*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Method*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Class*)NativePtr)->Methods = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Methods = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Specifiers::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Class::Specifiers::get() { - auto _tmp__Specifiers = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Class*)NativePtr)->Specifiers) + auto _tmp__Specifiers = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Specifiers; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((::CppSharp::CppParser::AST::AccessSpecifierDecl*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AccessSpecifierDecl((struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*)_element); _tmp__Specifiers->Add(_marshalElement); } return _tmp__Specifiers; } -void CppSharp::Parser::AST::Class::Specifiers::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Class::Specifiers::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::AccessSpecifierDecl*>(); for each(CppSharp::Parser::AST::AccessSpecifierDecl^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::AccessSpecifierDecl*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::AccessSpecifierDecl*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Class*)NativePtr)->Specifiers = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->Specifiers = _tmpvalue; } bool CppSharp::Parser::AST::Class::IsPOD::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isPOD; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isPOD; } void CppSharp::Parser::AST::Class::IsPOD::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isPOD = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isPOD = value; } bool CppSharp::Parser::AST::Class::IsAbstract::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isAbstract; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isAbstract; } void CppSharp::Parser::AST::Class::IsAbstract::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isAbstract = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isAbstract = value; } bool CppSharp::Parser::AST::Class::IsUnion::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isUnion; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isUnion; } void CppSharp::Parser::AST::Class::IsUnion::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isUnion = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isUnion = value; } bool CppSharp::Parser::AST::Class::IsDynamic::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isDynamic; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isDynamic; } void CppSharp::Parser::AST::Class::IsDynamic::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isDynamic = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isDynamic = value; } bool CppSharp::Parser::AST::Class::IsPolymorphic::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isPolymorphic; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isPolymorphic; } void CppSharp::Parser::AST::Class::IsPolymorphic::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isPolymorphic = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isPolymorphic = value; } bool CppSharp::Parser::AST::Class::HasNonTrivialDefaultConstructor::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDefaultConstructor; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDefaultConstructor; } void CppSharp::Parser::AST::Class::HasNonTrivialDefaultConstructor::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDefaultConstructor = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDefaultConstructor = value; } bool CppSharp::Parser::AST::Class::HasNonTrivialCopyConstructor::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialCopyConstructor; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialCopyConstructor; } void CppSharp::Parser::AST::Class::HasNonTrivialCopyConstructor::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialCopyConstructor = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialCopyConstructor = value; } bool CppSharp::Parser::AST::Class::HasNonTrivialDestructor::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDestructor; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDestructor; } void CppSharp::Parser::AST::Class::HasNonTrivialDestructor::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDestructor = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->hasNonTrivialDestructor = value; } bool CppSharp::Parser::AST::Class::IsExternCContext::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isExternCContext; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isExternCContext; } void CppSharp::Parser::AST::Class::IsExternCContext::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isExternCContext = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isExternCContext = value; } bool CppSharp::Parser::AST::Class::IsInjected::get() { - return ((::CppSharp::CppParser::AST::Class*)NativePtr)->isInjected; + return ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isInjected; } void CppSharp::Parser::AST::Class::IsInjected::set(bool value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->isInjected = value; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->isInjected = value; } CppSharp::Parser::AST::ClassLayout^ CppSharp::Parser::AST::Class::Layout::get() { - return (((::CppSharp::CppParser::AST::Class*)NativePtr)->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassLayout((::CppSharp::CppParser::AST::ClassLayout*)((::CppSharp::CppParser::AST::Class*)NativePtr)->layout); + return (((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->layout == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassLayout((struct ::CppSharp::CppParser::AST::ClassLayout*)((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->layout); } void CppSharp::Parser::AST::Class::Layout::set(CppSharp::Parser::AST::ClassLayout^ value) { - ((::CppSharp::CppParser::AST::Class*)NativePtr)->layout = (::CppSharp::CppParser::AST::ClassLayout*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->layout = (struct ::CppSharp::CppParser::AST::ClassLayout*)value->NativePtr; } unsigned int CppSharp::Parser::AST::Class::BasesCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getBasesCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getBasesCount(); return __ret; } unsigned int CppSharp::Parser::AST::Class::FieldsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getFieldsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getFieldsCount(); return __ret; } unsigned int CppSharp::Parser::AST::Class::MethodsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getMethodsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getMethodsCount(); return __ret; } unsigned int CppSharp::Parser::AST::Class::SpecifiersCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiersCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Class*)NativePtr)->getSpecifiersCount(); return __ret; } -CppSharp::Parser::AST::Template::Template(::CppSharp::CppParser::AST::Template* native) +CppSharp::Parser::AST::Template::Template(struct ::CppSharp::CppParser::AST::Template* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::Template::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*) native.ToPointer()); } -CppSharp::Parser::AST::Template::Template(::CppSharp::CppParser::AST::Template* native, bool ownNativeInstance) +CppSharp::Parser::AST::Template::Template(struct ::CppSharp::CppParser::AST::Template* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::Template::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Template::~Template() @@ -3728,7 +3752,7 @@ CppSharp::Parser::AST::Template::~Template() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Template*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Template*) __nativePtr; } } @@ -3736,35 +3760,35 @@ CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::DeclarationKind : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::Template(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::Template(__arg0); } CppSharp::Parser::AST::Template::Template() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Template(); + NativePtr = new struct ::CppSharp::CppParser::AST::Template(); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Template::GetParameters(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::Template*)NativePtr)->getParameters(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->getParameters(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)__ret); } void CppSharp::Parser::AST::Template::AddParameters(CppSharp::Parser::AST::Declaration^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Declaration*)s->NativePtr; - ((::CppSharp::CppParser::AST::Template*)NativePtr)->addParameters(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Declaration*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->addParameters(__arg0); } void CppSharp::Parser::AST::Template::ClearParameters() { - ((::CppSharp::CppParser::AST::Template*)NativePtr)->clearParameters(); + ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->clearParameters(); } CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::Template^ _0) @@ -3773,74 +3797,75 @@ CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::Template^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Template*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Template(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Template*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Template(__arg0); } CppSharp::Parser::AST::Template::operator CppSharp::Parser::AST::Template^(CppSharp::Parser::AST::DeclarationKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; auto __ret = (::CppSharp::CppParser::AST::Template) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Template(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Template(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*)____ret, true); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Template::TemplatedDecl::get() { - return (((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl); + return (((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl); } void CppSharp::Parser::AST::Template::TemplatedDecl::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->TemplatedDecl = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::Template::Parameters::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::Template::Parameters::get() { - auto _tmp__Parameters = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::Template*)NativePtr)->Parameters) + auto _tmp__Parameters = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->Parameters; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)_element); _tmp__Parameters->Add(_marshalElement); } return _tmp__Parameters; } -void CppSharp::Parser::AST::Template::Parameters::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::Template::Parameters::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Declaration*>(); for each(CppSharp::Parser::AST::Declaration^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::Template*)NativePtr)->Parameters = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->Parameters = _tmpvalue; } unsigned int CppSharp::Parser::AST::Template::ParametersCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::Template*)NativePtr)->getParametersCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::Template*)NativePtr)->getParametersCount(); return __ret; } -CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(::CppSharp::CppParser::AST::TypeAliasTemplate* native) +CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(struct ::CppSharp::CppParser::AST::TypeAliasTemplate* native) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native) { } CppSharp::Parser::AST::TypeAliasTemplate^ CppSharp::Parser::AST::TypeAliasTemplate::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((::CppSharp::CppParser::AST::TypeAliasTemplate*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((struct ::CppSharp::CppParser::AST::TypeAliasTemplate*) native.ToPointer()); } -CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(::CppSharp::CppParser::AST::TypeAliasTemplate* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(struct ::CppSharp::CppParser::AST::TypeAliasTemplate* native, bool ownNativeInstance) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypeAliasTemplate^ CppSharp::Parser::AST::TypeAliasTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((::CppSharp::CppParser::AST::TypeAliasTemplate*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypeAliasTemplate((struct ::CppSharp::CppParser::AST::TypeAliasTemplate*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypeAliasTemplate::~TypeAliasTemplate() @@ -3849,7 +3874,7 @@ CppSharp::Parser::AST::TypeAliasTemplate::~TypeAliasTemplate() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TypeAliasTemplate*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TypeAliasTemplate*) __nativePtr; } } @@ -3857,7 +3882,7 @@ CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate() : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypeAliasTemplate(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypeAliasTemplate(); } CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(CppSharp::Parser::AST::TypeAliasTemplate^ _0) @@ -3866,28 +3891,28 @@ CppSharp::Parser::AST::TypeAliasTemplate::TypeAliasTemplate(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypeAliasTemplate*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypeAliasTemplate(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypeAliasTemplate*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypeAliasTemplate(__arg0); } -CppSharp::Parser::AST::TemplateParameter::TemplateParameter(::CppSharp::CppParser::AST::TemplateParameter* native) +CppSharp::Parser::AST::TemplateParameter::TemplateParameter(struct ::CppSharp::CppParser::AST::TemplateParameter* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::TemplateParameter::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateParameter((struct ::CppSharp::CppParser::AST::TemplateParameter*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateParameter::TemplateParameter(::CppSharp::CppParser::AST::TemplateParameter* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateParameter::TemplateParameter(struct ::CppSharp::CppParser::AST::TemplateParameter* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::TemplateParameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateParameter((struct ::CppSharp::CppParser::AST::TemplateParameter*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateParameter::~TemplateParameter() @@ -3896,7 +3921,7 @@ CppSharp::Parser::AST::TemplateParameter::~TemplateParameter() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TemplateParameter*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TemplateParameter*) __nativePtr; } } @@ -3904,8 +3929,8 @@ CppSharp::Parser::AST::TemplateParameter::TemplateParameter(CppSharp::Parser::AS : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameter(__arg0); } CppSharp::Parser::AST::TemplateParameter::TemplateParameter(CppSharp::Parser::AST::TemplateParameter^ _0) @@ -3914,66 +3939,66 @@ CppSharp::Parser::AST::TemplateParameter::TemplateParameter(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameter(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateParameter*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameter(__arg0); } CppSharp::Parser::AST::TemplateParameter::operator CppSharp::Parser::AST::TemplateParameter^(CppSharp::Parser::AST::DeclarationKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::DeclarationKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::DeclarationKind)kind; auto __ret = (::CppSharp::CppParser::AST::TemplateParameter) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::TemplateParameter(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateParameter(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateParameter((struct ::CppSharp::CppParser::AST::TemplateParameter*)____ret, true); } unsigned int CppSharp::Parser::AST::TemplateParameter::Depth::get() { - return ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->depth; + return ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->depth; } void CppSharp::Parser::AST::TemplateParameter::Depth::set(unsigned int value) { - ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->depth = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->depth = value; } unsigned int CppSharp::Parser::AST::TemplateParameter::Index::get() { - return ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->index; + return ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->index; } void CppSharp::Parser::AST::TemplateParameter::Index::set(unsigned int value) { - ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->index = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->index = value; } bool CppSharp::Parser::AST::TemplateParameter::IsParameterPack::get() { - return ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->isParameterPack; + return ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->isParameterPack; } void CppSharp::Parser::AST::TemplateParameter::IsParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->isParameterPack = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameter*)NativePtr)->isParameterPack = value; } -CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(::CppSharp::CppParser::AST::TemplateTemplateParameter* native) +CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(struct ::CppSharp::CppParser::AST::TemplateTemplateParameter* native) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native) { } CppSharp::Parser::AST::TemplateTemplateParameter^ CppSharp::Parser::AST::TemplateTemplateParameter::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateTemplateParameter((::CppSharp::CppParser::AST::TemplateTemplateParameter*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateTemplateParameter((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(::CppSharp::CppParser::AST::TemplateTemplateParameter* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(struct ::CppSharp::CppParser::AST::TemplateTemplateParameter* native, bool ownNativeInstance) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native, ownNativeInstance) { } CppSharp::Parser::AST::TemplateTemplateParameter^ CppSharp::Parser::AST::TemplateTemplateParameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateTemplateParameter((::CppSharp::CppParser::AST::TemplateTemplateParameter*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateTemplateParameter((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateTemplateParameter::~TemplateTemplateParameter() @@ -3982,7 +4007,7 @@ CppSharp::Parser::AST::TemplateTemplateParameter::~TemplateTemplateParameter() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TemplateTemplateParameter*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*) __nativePtr; } } @@ -3990,7 +4015,7 @@ CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter() : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TemplateTemplateParameter(); + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateTemplateParameter(); } CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(CppSharp::Parser::AST::TemplateTemplateParameter^ _0) @@ -3999,58 +4024,58 @@ CppSharp::Parser::AST::TemplateTemplateParameter::TemplateTemplateParameter(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateTemplateParameter*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateTemplateParameter(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateTemplateParameter(__arg0); } bool CppSharp::Parser::AST::TemplateTemplateParameter::IsParameterPack::get() { - return ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isParameterPack; + return ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isParameterPack; } void CppSharp::Parser::AST::TemplateTemplateParameter::IsParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isParameterPack = value; + ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isParameterPack = value; } bool CppSharp::Parser::AST::TemplateTemplateParameter::IsPackExpansion::get() { - return ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isPackExpansion; + return ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isPackExpansion; } void CppSharp::Parser::AST::TemplateTemplateParameter::IsPackExpansion::set(bool value) { - ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isPackExpansion = value; + ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isPackExpansion = value; } bool CppSharp::Parser::AST::TemplateTemplateParameter::IsExpandedParameterPack::get() { - return ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isExpandedParameterPack; + return ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isExpandedParameterPack; } void CppSharp::Parser::AST::TemplateTemplateParameter::IsExpandedParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isExpandedParameterPack = value; + ((struct ::CppSharp::CppParser::AST::TemplateTemplateParameter*)NativePtr)->isExpandedParameterPack = value; } -CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(::CppSharp::CppParser::AST::TypeTemplateParameter* native) +CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(struct ::CppSharp::CppParser::AST::TypeTemplateParameter* native) : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)native) { } CppSharp::Parser::AST::TypeTemplateParameter^ CppSharp::Parser::AST::TypeTemplateParameter::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((::CppSharp::CppParser::AST::TypeTemplateParameter*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*) native.ToPointer()); } -CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(::CppSharp::CppParser::AST::TypeTemplateParameter* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(struct ::CppSharp::CppParser::AST::TypeTemplateParameter* native, bool ownNativeInstance) : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypeTemplateParameter^ CppSharp::Parser::AST::TypeTemplateParameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((::CppSharp::CppParser::AST::TypeTemplateParameter*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypeTemplateParameter::~TypeTemplateParameter() @@ -4059,7 +4084,7 @@ CppSharp::Parser::AST::TypeTemplateParameter::~TypeTemplateParameter() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TypeTemplateParameter*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TypeTemplateParameter*) __nativePtr; } } @@ -4067,7 +4092,7 @@ CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter() : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypeTemplateParameter(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypeTemplateParameter(); } CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(CppSharp::Parser::AST::TypeTemplateParameter^ _0) @@ -4076,40 +4101,40 @@ CppSharp::Parser::AST::TypeTemplateParameter::TypeTemplateParameter(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypeTemplateParameter*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypeTemplateParameter(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypeTemplateParameter(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TypeTemplateParameter::DefaultArgument::get() { - return (&((::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument); + return (&((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument); } void CppSharp::Parser::AST::TypeTemplateParameter::DefaultArgument::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)NativePtr)->defaultArgument = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(::CppSharp::CppParser::AST::NonTypeTemplateParameter* native) +CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter* native) : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)native) { } CppSharp::Parser::AST::NonTypeTemplateParameter^ CppSharp::Parser::AST::NonTypeTemplateParameter::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::NonTypeTemplateParameter((::CppSharp::CppParser::AST::NonTypeTemplateParameter*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::NonTypeTemplateParameter((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*) native.ToPointer()); } -CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(::CppSharp::CppParser::AST::NonTypeTemplateParameter* native, bool ownNativeInstance) +CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter* native, bool ownNativeInstance) : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)native, ownNativeInstance) { } CppSharp::Parser::AST::NonTypeTemplateParameter^ CppSharp::Parser::AST::NonTypeTemplateParameter::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::NonTypeTemplateParameter((::CppSharp::CppParser::AST::NonTypeTemplateParameter*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::NonTypeTemplateParameter((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::NonTypeTemplateParameter::~NonTypeTemplateParameter() @@ -4118,7 +4143,7 @@ CppSharp::Parser::AST::NonTypeTemplateParameter::~NonTypeTemplateParameter() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::NonTypeTemplateParameter*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*) __nativePtr; } } @@ -4126,7 +4151,7 @@ CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter() : CppSharp::Parser::AST::TemplateParameter((::CppSharp::CppParser::AST::TemplateParameter*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::NonTypeTemplateParameter(); + NativePtr = new struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter(); } CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(CppSharp::Parser::AST::NonTypeTemplateParameter^ _0) @@ -4135,78 +4160,78 @@ CppSharp::Parser::AST::NonTypeTemplateParameter::NonTypeTemplateParameter(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::NonTypeTemplateParameter*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::NonTypeTemplateParameter(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter(__arg0); } CppSharp::Parser::AST::ExpressionObsolete^ CppSharp::Parser::AST::NonTypeTemplateParameter::DefaultArgument::get() { - return (((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((::CppSharp::CppParser::AST::ExpressionObsolete*)((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument); + return (((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExpressionObsolete((struct ::CppSharp::CppParser::AST::ExpressionObsolete*)((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument); } void CppSharp::Parser::AST::NonTypeTemplateParameter::DefaultArgument::set(CppSharp::Parser::AST::ExpressionObsolete^ value) { - ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument = (::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgument = (struct ::CppSharp::CppParser::AST::ExpressionObsolete*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::NonTypeTemplateParameter::DefaultArgumentNew::get() { - return (((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew); + return (((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew); } void CppSharp::Parser::AST::NonTypeTemplateParameter::DefaultArgumentNew::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->defaultArgumentNew = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::NonTypeTemplateParameter::Position::get() { - return ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->position; + return ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->position; } void CppSharp::Parser::AST::NonTypeTemplateParameter::Position::set(unsigned int value) { - ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->position = value; + ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->position = value; } bool CppSharp::Parser::AST::NonTypeTemplateParameter::IsPackExpansion::get() { - return ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isPackExpansion; + return ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isPackExpansion; } void CppSharp::Parser::AST::NonTypeTemplateParameter::IsPackExpansion::set(bool value) { - ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isPackExpansion = value; + ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isPackExpansion = value; } bool CppSharp::Parser::AST::NonTypeTemplateParameter::IsExpandedParameterPack::get() { - return ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isExpandedParameterPack; + return ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isExpandedParameterPack; } void CppSharp::Parser::AST::NonTypeTemplateParameter::IsExpandedParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isExpandedParameterPack = value; + ((struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter*)NativePtr)->isExpandedParameterPack = value; } -CppSharp::Parser::AST::ClassTemplate::ClassTemplate(::CppSharp::CppParser::AST::ClassTemplate* native) +CppSharp::Parser::AST::ClassTemplate::ClassTemplate(struct ::CppSharp::CppParser::AST::ClassTemplate* native) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native) { } CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplate::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ClassTemplate((::CppSharp::CppParser::AST::ClassTemplate*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ClassTemplate((struct ::CppSharp::CppParser::AST::ClassTemplate*) native.ToPointer()); } -CppSharp::Parser::AST::ClassTemplate::ClassTemplate(::CppSharp::CppParser::AST::ClassTemplate* native, bool ownNativeInstance) +CppSharp::Parser::AST::ClassTemplate::ClassTemplate(struct ::CppSharp::CppParser::AST::ClassTemplate* native, bool ownNativeInstance) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native, ownNativeInstance) { } CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ClassTemplate((::CppSharp::CppParser::AST::ClassTemplate*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ClassTemplate((struct ::CppSharp::CppParser::AST::ClassTemplate*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ClassTemplate::~ClassTemplate() @@ -4215,7 +4240,7 @@ CppSharp::Parser::AST::ClassTemplate::~ClassTemplate() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ClassTemplate*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ClassTemplate*) __nativePtr; } } @@ -4223,43 +4248,43 @@ CppSharp::Parser::AST::ClassTemplate::ClassTemplate() : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplate(); + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplate(); } CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplate::GetSpecializations(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializations(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializations(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)__ret); } void CppSharp::Parser::AST::ClassTemplate::AddSpecializations(CppSharp::Parser::AST::ClassTemplateSpecialization^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::ClassTemplateSpecialization*)s->NativePtr; - ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->addSpecializations(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->addSpecializations(__arg0); } void CppSharp::Parser::AST::ClassTemplate::ClearSpecializations() { - ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->clearSpecializations(); + ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->clearSpecializations(); } -CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplate::FindSpecialization(System::String^ usr) +CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplate::FindSpecialization(::System::String^ usr) { auto __arg0 = clix::marshalString(usr); - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->FindSpecialization(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->FindSpecialization(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)__ret); } -CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplate::FindPartialSpecialization(System::String^ usr) +CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplate::FindPartialSpecialization(::System::String^ usr) { auto __arg0 = clix::marshalString(usr); - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->FindPartialSpecialization(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->FindPartialSpecialization(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*)__ret); } CppSharp::Parser::AST::ClassTemplate::ClassTemplate(CppSharp::Parser::AST::ClassTemplate^ _0) @@ -4268,56 +4293,57 @@ CppSharp::Parser::AST::ClassTemplate::ClassTemplate(CppSharp::Parser::AST::Class __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ClassTemplate*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplate(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ClassTemplate*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplate(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::ClassTemplate::Specializations::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ClassTemplate::Specializations::get() { - auto _tmp__Specializations = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->Specializations) + auto _tmp__Specializations = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->Specializations; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_element); _tmp__Specializations->Add(_marshalElement); } return _tmp__Specializations; } -void CppSharp::Parser::AST::ClassTemplate::Specializations::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ClassTemplate::Specializations::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::ClassTemplateSpecialization*>(); for each(CppSharp::Parser::AST::ClassTemplateSpecialization^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->Specializations = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->Specializations = _tmpvalue; } unsigned int CppSharp::Parser::AST::ClassTemplate::SpecializationsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializationsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplate*)NativePtr)->getSpecializationsCount(); return __ret; } -CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(::CppSharp::CppParser::AST::ClassTemplateSpecialization* native) +CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization* native) : CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)native) { } CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplateSpecialization::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*) native.ToPointer()); } -CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(::CppSharp::CppParser::AST::ClassTemplateSpecialization* native, bool ownNativeInstance) +CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization* native, bool ownNativeInstance) : CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)native, ownNativeInstance) { } CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::ClassTemplateSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ClassTemplateSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ClassTemplateSpecialization::~ClassTemplateSpecialization() @@ -4326,7 +4352,7 @@ CppSharp::Parser::AST::ClassTemplateSpecialization::~ClassTemplateSpecialization { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ClassTemplateSpecialization*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*) __nativePtr; } } @@ -4334,27 +4360,27 @@ CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization( : CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplateSpecialization(); + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization(); } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::ClassTemplateSpecialization::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateArgument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); } void CppSharp::Parser::AST::ClassTemplateSpecialization::AddArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; - ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::ClassTemplateSpecialization::ClearArguments() { - ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization(CppSharp::Parser::AST::ClassTemplateSpecialization^ _0) @@ -4363,79 +4389,80 @@ CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization( __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplateSpecialization(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization(__arg0); } CppSharp::Parser::AST::ClassTemplate^ CppSharp::Parser::AST::ClassTemplateSpecialization::TemplatedDecl::get() { - return (((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplate((::CppSharp::CppParser::AST::ClassTemplate*)((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl); + return (((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ClassTemplate((struct ::CppSharp::CppParser::AST::ClassTemplate*)((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl); } void CppSharp::Parser::AST::ClassTemplateSpecialization::TemplatedDecl::set(CppSharp::Parser::AST::ClassTemplate^ value) { - ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl = (::CppSharp::CppParser::AST::ClassTemplate*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->templatedDecl = (struct ::CppSharp::CppParser::AST::ClassTemplate*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::ClassTemplateSpecialization::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ClassTemplateSpecialization::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::TemplateArgument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::TemplateArgument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::ClassTemplateSpecialization::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ClassTemplateSpecialization::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TemplateArgument>(); for each(CppSharp::Parser::AST::TemplateArgument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; } CppSharp::Parser::AST::TemplateSpecializationKind CppSharp::Parser::AST::ClassTemplateSpecialization::SpecializationKind::get() { - return (CppSharp::Parser::AST::TemplateSpecializationKind)((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->specializationKind; + return (CppSharp::Parser::AST::TemplateSpecializationKind)((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->specializationKind; } void CppSharp::Parser::AST::ClassTemplateSpecialization::SpecializationKind::set(CppSharp::Parser::AST::TemplateSpecializationKind value) { - ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->specializationKind = (::CppSharp::CppParser::AST::TemplateSpecializationKind)value; + ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->specializationKind = (enum ::CppSharp::CppParser::AST::TemplateSpecializationKind)value; } unsigned int CppSharp::Parser::AST::ClassTemplateSpecialization::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native) +CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native) : CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)native) { } CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) native.ToPointer()); } -CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native, bool ownNativeInstance) +CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native, bool ownNativeInstance) : CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)native, ownNativeInstance) { } CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ClassTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ClassTemplatePartialSpecialization::~ClassTemplatePartialSpecialization() @@ -4444,7 +4471,7 @@ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::~ClassTemplatePartial { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*) __nativePtr; } } @@ -4452,7 +4479,7 @@ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialS : CppSharp::Parser::AST::ClassTemplateSpecialization((::CppSharp::CppParser::AST::ClassTemplateSpecialization*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization(); + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization(); } CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialSpecialization(CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ _0) @@ -4461,28 +4488,28 @@ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization(__arg0); } -CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(::CppSharp::CppParser::AST::FunctionTemplate* native) +CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(struct ::CppSharp::CppParser::AST::FunctionTemplate* native) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native) { } CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplate::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FunctionTemplate((::CppSharp::CppParser::AST::FunctionTemplate*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FunctionTemplate((struct ::CppSharp::CppParser::AST::FunctionTemplate*) native.ToPointer()); } -CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(::CppSharp::CppParser::AST::FunctionTemplate* native, bool ownNativeInstance) +CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(struct ::CppSharp::CppParser::AST::FunctionTemplate* native, bool ownNativeInstance) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native, ownNativeInstance) { } CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FunctionTemplate((::CppSharp::CppParser::AST::FunctionTemplate*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FunctionTemplate((struct ::CppSharp::CppParser::AST::FunctionTemplate*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FunctionTemplate::~FunctionTemplate() @@ -4491,7 +4518,7 @@ CppSharp::Parser::AST::FunctionTemplate::~FunctionTemplate() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::FunctionTemplate*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::FunctionTemplate*) __nativePtr; } } @@ -4499,35 +4526,35 @@ CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate() : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplate(); + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionTemplate(); } CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplate::GetSpecializations(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializations(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializations(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)__ret); } void CppSharp::Parser::AST::FunctionTemplate::AddSpecializations(CppSharp::Parser::AST::FunctionTemplateSpecialization^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)s->NativePtr; - ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->addSpecializations(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->addSpecializations(__arg0); } void CppSharp::Parser::AST::FunctionTemplate::ClearSpecializations() { - ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->clearSpecializations(); + ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->clearSpecializations(); } -CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplate::FindSpecialization(System::String^ usr) +CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplate::FindSpecialization(::System::String^ usr) { auto __arg0 = clix::marshalString(usr); - auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->FindSpecialization(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->FindSpecialization(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)__ret); } CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(CppSharp::Parser::AST::FunctionTemplate^ _0) @@ -4536,39 +4563,40 @@ CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FunctionTemplate*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplate(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FunctionTemplate*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionTemplate(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionTemplate::Specializations::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionTemplate::Specializations::get() { - auto _tmp__Specializations = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->Specializations) + auto _tmp__Specializations = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->Specializations; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_element); _tmp__Specializations->Add(_marshalElement); } return _tmp__Specializations; } -void CppSharp::Parser::AST::FunctionTemplate::Specializations::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::FunctionTemplate::Specializations::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::FunctionTemplateSpecialization*>(); for each(CppSharp::Parser::AST::FunctionTemplateSpecialization^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->Specializations = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->Specializations = _tmpvalue; } unsigned int CppSharp::Parser::AST::FunctionTemplate::SpecializationsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializationsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr)->getSpecializationsCount(); return __ret; } -CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native) +CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -4576,10 +4604,10 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecializ CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplateSpecialization::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*) native.ToPointer()); } -CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native, bool ownNativeInstance) +CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -4587,7 +4615,7 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecializ CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::FunctionTemplateSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FunctionTemplateSpecialization((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FunctionTemplateSpecialization::~FunctionTemplateSpecialization() @@ -4598,27 +4626,27 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization::~FunctionTemplateSpeciali CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplateSpecialization(); + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization(); } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::FunctionTemplateSpecialization::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateArgument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); } void CppSharp::Parser::AST::FunctionTemplateSpecialization::AddArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::FunctionTemplateSpecialization::ClearArguments() { - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecialization(CppSharp::Parser::AST::FunctionTemplateSpecialization^ _0) @@ -4626,99 +4654,100 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecializ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FunctionTemplateSpecialization(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization(__arg0); } -System::IntPtr CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::FunctionTemplateSpecialization::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)object.ToPointer(); } CppSharp::Parser::AST::FunctionTemplate^ CppSharp::Parser::AST::FunctionTemplateSpecialization::Template::get() { - return (((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->_template == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplate((::CppSharp::CppParser::AST::FunctionTemplate*)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->_template); + return (NativePtr->_template == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FunctionTemplate((struct ::CppSharp::CppParser::AST::FunctionTemplate*)NativePtr->_template); } void CppSharp::Parser::AST::FunctionTemplateSpecialization::Template::set(CppSharp::Parser::AST::FunctionTemplate^ value) { - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->_template = (::CppSharp::CppParser::AST::FunctionTemplate*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->_template = (struct ::CppSharp::CppParser::AST::FunctionTemplate*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionTemplateSpecialization::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionTemplateSpecialization::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::TemplateArgument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::TemplateArgument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::FunctionTemplateSpecialization::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::FunctionTemplateSpecialization::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TemplateArgument>(); for each(CppSharp::Parser::AST::TemplateArgument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializedFunction::get() { - return (((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializedFunction == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializedFunction); + return (NativePtr->specializedFunction == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)NativePtr->specializedFunction); } void CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializedFunction::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializedFunction = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializedFunction = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } CppSharp::Parser::AST::TemplateSpecializationKind CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializationKind::get() { - return (CppSharp::Parser::AST::TemplateSpecializationKind)((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializationKind; + return (CppSharp::Parser::AST::TemplateSpecializationKind)NativePtr->specializationKind; } void CppSharp::Parser::AST::FunctionTemplateSpecialization::SpecializationKind::set(CppSharp::Parser::AST::TemplateSpecializationKind value) { - ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializationKind = (::CppSharp::CppParser::AST::TemplateSpecializationKind)value; + ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->specializationKind = (enum ::CppSharp::CppParser::AST::TemplateSpecializationKind)value; } unsigned int CppSharp::Parser::AST::FunctionTemplateSpecialization::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::VarTemplate::VarTemplate(::CppSharp::CppParser::AST::VarTemplate* native) +CppSharp::Parser::AST::VarTemplate::VarTemplate(struct ::CppSharp::CppParser::AST::VarTemplate* native) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native) { } CppSharp::Parser::AST::VarTemplate^ CppSharp::Parser::AST::VarTemplate::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VarTemplate((::CppSharp::CppParser::AST::VarTemplate*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VarTemplate((struct ::CppSharp::CppParser::AST::VarTemplate*) native.ToPointer()); } -CppSharp::Parser::AST::VarTemplate::VarTemplate(::CppSharp::CppParser::AST::VarTemplate* native, bool ownNativeInstance) +CppSharp::Parser::AST::VarTemplate::VarTemplate(struct ::CppSharp::CppParser::AST::VarTemplate* native, bool ownNativeInstance) : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)native, ownNativeInstance) { } CppSharp::Parser::AST::VarTemplate^ CppSharp::Parser::AST::VarTemplate::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VarTemplate((::CppSharp::CppParser::AST::VarTemplate*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VarTemplate((struct ::CppSharp::CppParser::AST::VarTemplate*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VarTemplate::~VarTemplate() @@ -4727,7 +4756,7 @@ CppSharp::Parser::AST::VarTemplate::~VarTemplate() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VarTemplate*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VarTemplate*) __nativePtr; } } @@ -4735,43 +4764,43 @@ CppSharp::Parser::AST::VarTemplate::VarTemplate() : CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplate(); + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplate(); } CppSharp::Parser::AST::VarTemplateSpecialization^ CppSharp::Parser::AST::VarTemplate::GetSpecializations(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->getSpecializations(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->getSpecializations(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)__ret); } void CppSharp::Parser::AST::VarTemplate::AddSpecializations(CppSharp::Parser::AST::VarTemplateSpecialization^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::VarTemplateSpecialization*)s->NativePtr; - ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->addSpecializations(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->addSpecializations(__arg0); } void CppSharp::Parser::AST::VarTemplate::ClearSpecializations() { - ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->clearSpecializations(); + ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->clearSpecializations(); } -CppSharp::Parser::AST::VarTemplateSpecialization^ CppSharp::Parser::AST::VarTemplate::FindSpecialization(System::String^ usr) +CppSharp::Parser::AST::VarTemplateSpecialization^ CppSharp::Parser::AST::VarTemplate::FindSpecialization(::System::String^ usr) { auto __arg0 = clix::marshalString(usr); - auto __ret = ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->FindSpecialization(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->FindSpecialization(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)__ret); } -CppSharp::Parser::AST::VarTemplatePartialSpecialization^ CppSharp::Parser::AST::VarTemplate::FindPartialSpecialization(System::String^ usr) +CppSharp::Parser::AST::VarTemplatePartialSpecialization^ CppSharp::Parser::AST::VarTemplate::FindPartialSpecialization(::System::String^ usr) { auto __arg0 = clix::marshalString(usr); - auto __ret = ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->FindPartialSpecialization(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->FindPartialSpecialization(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*)__ret); } CppSharp::Parser::AST::VarTemplate::VarTemplate(CppSharp::Parser::AST::VarTemplate^ _0) @@ -4780,56 +4809,57 @@ CppSharp::Parser::AST::VarTemplate::VarTemplate(CppSharp::Parser::AST::VarTempla __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VarTemplate*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplate(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VarTemplate*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplate(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::VarTemplate::Specializations::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::VarTemplate::Specializations::get() { - auto _tmp__Specializations = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->Specializations) + auto _tmp__Specializations = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->Specializations; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)_element); _tmp__Specializations->Add(_marshalElement); } return _tmp__Specializations; } -void CppSharp::Parser::AST::VarTemplate::Specializations::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::VarTemplate::Specializations::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::VarTemplateSpecialization*>(); for each(CppSharp::Parser::AST::VarTemplateSpecialization^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::VarTemplateSpecialization*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->Specializations = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->Specializations = _tmpvalue; } unsigned int CppSharp::Parser::AST::VarTemplate::SpecializationsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->getSpecializationsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplate*)NativePtr)->getSpecializationsCount(); return __ret; } -CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(::CppSharp::CppParser::AST::VarTemplateSpecialization* native) +CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(struct ::CppSharp::CppParser::AST::VarTemplateSpecialization* native) : CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)native) { } CppSharp::Parser::AST::VarTemplateSpecialization^ CppSharp::Parser::AST::VarTemplateSpecialization::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*) native.ToPointer()); } -CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(::CppSharp::CppParser::AST::VarTemplateSpecialization* native, bool ownNativeInstance) +CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(struct ::CppSharp::CppParser::AST::VarTemplateSpecialization* native, bool ownNativeInstance) : CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)native, ownNativeInstance) { } CppSharp::Parser::AST::VarTemplateSpecialization^ CppSharp::Parser::AST::VarTemplateSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VarTemplateSpecialization((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VarTemplateSpecialization::~VarTemplateSpecialization() @@ -4838,7 +4868,7 @@ CppSharp::Parser::AST::VarTemplateSpecialization::~VarTemplateSpecialization() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VarTemplateSpecialization*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*) __nativePtr; } } @@ -4846,27 +4876,27 @@ CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization() : CppSharp::Parser::AST::Variable((::CppSharp::CppParser::AST::Variable*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplateSpecialization(); + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplateSpecialization(); } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::VarTemplateSpecialization::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateArgument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); } void CppSharp::Parser::AST::VarTemplateSpecialization::AddArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; - ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::VarTemplateSpecialization::ClearArguments() { - ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->clearArguments(); } CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(CppSharp::Parser::AST::VarTemplateSpecialization^ _0) @@ -4875,79 +4905,80 @@ CppSharp::Parser::AST::VarTemplateSpecialization::VarTemplateSpecialization(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VarTemplateSpecialization*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplateSpecialization(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplateSpecialization(__arg0); } CppSharp::Parser::AST::VarTemplate^ CppSharp::Parser::AST::VarTemplateSpecialization::TemplatedDecl::get() { - return (((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplate((::CppSharp::CppParser::AST::VarTemplate*)((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl); + return (((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::VarTemplate((struct ::CppSharp::CppParser::AST::VarTemplate*)((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl); } void CppSharp::Parser::AST::VarTemplateSpecialization::TemplatedDecl::set(CppSharp::Parser::AST::VarTemplate^ value) { - ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl = (::CppSharp::CppParser::AST::VarTemplate*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->templatedDecl = (struct ::CppSharp::CppParser::AST::VarTemplate*)value->NativePtr; } -System::Collections::Generic::List^ CppSharp::Parser::AST::VarTemplateSpecialization::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::VarTemplateSpecialization::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::TemplateArgument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::TemplateArgument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::VarTemplateSpecialization::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::VarTemplateSpecialization::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TemplateArgument>(); for each(CppSharp::Parser::AST::TemplateArgument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->Arguments = _tmpvalue; } CppSharp::Parser::AST::TemplateSpecializationKind CppSharp::Parser::AST::VarTemplateSpecialization::SpecializationKind::get() { - return (CppSharp::Parser::AST::TemplateSpecializationKind)((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->specializationKind; + return (CppSharp::Parser::AST::TemplateSpecializationKind)((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->specializationKind; } void CppSharp::Parser::AST::VarTemplateSpecialization::SpecializationKind::set(CppSharp::Parser::AST::TemplateSpecializationKind value) { - ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->specializationKind = (::CppSharp::CppParser::AST::TemplateSpecializationKind)value; + ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->specializationKind = (enum ::CppSharp::CppParser::AST::TemplateSpecializationKind)value; } unsigned int CppSharp::Parser::AST::VarTemplateSpecialization::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::VarTemplateSpecialization*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpecialization(::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native) +CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native) : CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)native) { } CppSharp::Parser::AST::VarTemplatePartialSpecialization^ CppSharp::Parser::AST::VarTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) native.ToPointer()); } -CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpecialization(::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native, bool ownNativeInstance) +CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native, bool ownNativeInstance) : CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)native, ownNativeInstance) { } CppSharp::Parser::AST::VarTemplatePartialSpecialization^ CppSharp::Parser::AST::VarTemplatePartialSpecialization::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VarTemplatePartialSpecialization((struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VarTemplatePartialSpecialization::~VarTemplatePartialSpecialization() @@ -4956,7 +4987,7 @@ CppSharp::Parser::AST::VarTemplatePartialSpecialization::~VarTemplatePartialSpec { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*) __nativePtr; } } @@ -4964,7 +4995,7 @@ CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpeci : CppSharp::Parser::AST::VarTemplateSpecialization((::CppSharp::CppParser::AST::VarTemplateSpecialization*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization(); + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization(); } CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpecialization(CppSharp::Parser::AST::VarTemplatePartialSpecialization^ _0) @@ -4973,28 +5004,28 @@ CppSharp::Parser::AST::VarTemplatePartialSpecialization::VarTemplatePartialSpeci __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization(__arg0); } -CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(::CppSharp::CppParser::AST::UnresolvedUsingTypename* native) +CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename* native) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native) { } CppSharp::Parser::AST::UnresolvedUsingTypename^ CppSharp::Parser::AST::UnresolvedUsingTypename::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((::CppSharp::CppParser::AST::UnresolvedUsingTypename*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*) native.ToPointer()); } -CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(::CppSharp::CppParser::AST::UnresolvedUsingTypename* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename* native, bool ownNativeInstance) : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnresolvedUsingTypename^ CppSharp::Parser::AST::UnresolvedUsingTypename::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((::CppSharp::CppParser::AST::UnresolvedUsingTypename*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnresolvedUsingTypename::~UnresolvedUsingTypename() @@ -5003,7 +5034,7 @@ CppSharp::Parser::AST::UnresolvedUsingTypename::~UnresolvedUsingTypename() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::UnresolvedUsingTypename*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*) __nativePtr; } } @@ -5011,7 +5042,7 @@ CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename() : CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedUsingTypename(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename(); } CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(CppSharp::Parser::AST::UnresolvedUsingTypename^ _0) @@ -5020,28 +5051,28 @@ CppSharp::Parser::AST::UnresolvedUsingTypename::UnresolvedUsingTypename(CppSharp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnresolvedUsingTypename*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedUsingTypename(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename(__arg0); } -CppSharp::Parser::AST::Namespace::Namespace(::CppSharp::CppParser::AST::Namespace* native) +CppSharp::Parser::AST::Namespace::Namespace(struct ::CppSharp::CppParser::AST::Namespace* native) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native) { } CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::Namespace::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Namespace((struct ::CppSharp::CppParser::AST::Namespace*) native.ToPointer()); } -CppSharp::Parser::AST::Namespace::Namespace(::CppSharp::CppParser::AST::Namespace* native, bool ownNativeInstance) +CppSharp::Parser::AST::Namespace::Namespace(struct ::CppSharp::CppParser::AST::Namespace* native, bool ownNativeInstance) : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)native, ownNativeInstance) { } CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::Namespace::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Namespace((struct ::CppSharp::CppParser::AST::Namespace*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Namespace::~Namespace() @@ -5050,7 +5081,7 @@ CppSharp::Parser::AST::Namespace::~Namespace() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::Namespace*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::Namespace*) __nativePtr; } } @@ -5058,7 +5089,7 @@ CppSharp::Parser::AST::Namespace::Namespace() : CppSharp::Parser::AST::DeclarationContext((::CppSharp::CppParser::AST::DeclarationContext*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Namespace(); + NativePtr = new struct ::CppSharp::CppParser::AST::Namespace(); } CppSharp::Parser::AST::Namespace::Namespace(CppSharp::Parser::AST::Namespace^ _0) @@ -5067,21 +5098,21 @@ CppSharp::Parser::AST::Namespace::Namespace(CppSharp::Parser::AST::Namespace^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Namespace*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Namespace(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Namespace*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Namespace(__arg0); } bool CppSharp::Parser::AST::Namespace::IsInline::get() { - return ((::CppSharp::CppParser::AST::Namespace*)NativePtr)->isInline; + return ((struct ::CppSharp::CppParser::AST::Namespace*)NativePtr)->isInline; } void CppSharp::Parser::AST::Namespace::IsInline::set(bool value) { - ((::CppSharp::CppParser::AST::Namespace*)NativePtr)->isInline = value; + ((struct ::CppSharp::CppParser::AST::Namespace*)NativePtr)->isInline = value; } -CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(::CppSharp::CppParser::AST::PreprocessedEntity* native) +CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(struct ::CppSharp::CppParser::AST::PreprocessedEntity* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -5089,10 +5120,10 @@ CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(::CppSharp::CppPar CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::PreprocessedEntity::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PreprocessedEntity((struct ::CppSharp::CppParser::AST::PreprocessedEntity*) native.ToPointer()); } -CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(::CppSharp::CppParser::AST::PreprocessedEntity* native, bool ownNativeInstance) +CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(struct ::CppSharp::CppParser::AST::PreprocessedEntity* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -5100,7 +5131,7 @@ CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(::CppSharp::CppPar CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::PreprocessedEntity::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PreprocessedEntity((struct ::CppSharp::CppParser::AST::PreprocessedEntity*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PreprocessedEntity::~PreprocessedEntity() @@ -5111,7 +5142,7 @@ CppSharp::Parser::AST::PreprocessedEntity::~PreprocessedEntity() CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PreprocessedEntity(); + NativePtr = new struct ::CppSharp::CppParser::AST::PreprocessedEntity(); } CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(CppSharp::Parser::AST::PreprocessedEntity^ _0) @@ -5119,68 +5150,68 @@ CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PreprocessedEntity*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PreprocessedEntity(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PreprocessedEntity*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PreprocessedEntity(__arg0); } -System::IntPtr CppSharp::Parser::AST::PreprocessedEntity::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::PreprocessedEntity::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::PreprocessedEntity::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::PreprocessedEntity::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::PreprocessedEntity*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::PreprocessedEntity*)object.ToPointer(); } CppSharp::Parser::AST::MacroLocation CppSharp::Parser::AST::PreprocessedEntity::MacroLocation::get() { - return (CppSharp::Parser::AST::MacroLocation)((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->macroLocation; + return (CppSharp::Parser::AST::MacroLocation)NativePtr->macroLocation; } void CppSharp::Parser::AST::PreprocessedEntity::MacroLocation::set(CppSharp::Parser::AST::MacroLocation value) { - ((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->macroLocation = (::CppSharp::CppParser::AST::MacroLocation)value; + ((struct ::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->macroLocation = (enum ::CppSharp::CppParser::AST::MacroLocation)value; } ::System::IntPtr CppSharp::Parser::AST::PreprocessedEntity::OriginalPtr::get() { - return ::System::IntPtr(((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->originalPtr); + return ::System::IntPtr(NativePtr->originalPtr); } void CppSharp::Parser::AST::PreprocessedEntity::OriginalPtr::set(::System::IntPtr value) { - ((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->originalPtr = (void*)value; + ((struct ::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->originalPtr = (void*)value; } CppSharp::Parser::AST::DeclarationKind CppSharp::Parser::AST::PreprocessedEntity::Kind::get() { - return (CppSharp::Parser::AST::DeclarationKind)((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->kind; + return (CppSharp::Parser::AST::DeclarationKind)NativePtr->kind; } void CppSharp::Parser::AST::PreprocessedEntity::Kind::set(CppSharp::Parser::AST::DeclarationKind value) { - ((::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->kind = (::CppSharp::CppParser::AST::DeclarationKind)value; + ((struct ::CppSharp::CppParser::AST::PreprocessedEntity*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::DeclarationKind)value; } -CppSharp::Parser::AST::MacroDefinition::MacroDefinition(::CppSharp::CppParser::AST::MacroDefinition* native) +CppSharp::Parser::AST::MacroDefinition::MacroDefinition(struct ::CppSharp::CppParser::AST::MacroDefinition* native) : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native) { } CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroDefinition::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MacroDefinition((struct ::CppSharp::CppParser::AST::MacroDefinition*) native.ToPointer()); } -CppSharp::Parser::AST::MacroDefinition::MacroDefinition(::CppSharp::CppParser::AST::MacroDefinition* native, bool ownNativeInstance) +CppSharp::Parser::AST::MacroDefinition::MacroDefinition(struct ::CppSharp::CppParser::AST::MacroDefinition* native, bool ownNativeInstance) : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native, ownNativeInstance) { } CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroDefinition::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MacroDefinition((struct ::CppSharp::CppParser::AST::MacroDefinition*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MacroDefinition::~MacroDefinition() @@ -5189,7 +5220,7 @@ CppSharp::Parser::AST::MacroDefinition::~MacroDefinition() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::MacroDefinition*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::MacroDefinition*) __nativePtr; } } @@ -5197,7 +5228,7 @@ CppSharp::Parser::AST::MacroDefinition::MacroDefinition() : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MacroDefinition(); + NativePtr = new struct ::CppSharp::CppParser::AST::MacroDefinition(); } CppSharp::Parser::AST::MacroDefinition::MacroDefinition(CppSharp::Parser::AST::MacroDefinition^ _0) @@ -5206,68 +5237,68 @@ CppSharp::Parser::AST::MacroDefinition::MacroDefinition(CppSharp::Parser::AST::M __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MacroDefinition*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MacroDefinition(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MacroDefinition*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MacroDefinition(__arg0); } -System::String^ CppSharp::Parser::AST::MacroDefinition::Name::get() +::System::String^ CppSharp::Parser::AST::MacroDefinition::Name::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->name); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->name); } -void CppSharp::Parser::AST::MacroDefinition::Name::set(System::String^ value) +void CppSharp::Parser::AST::MacroDefinition::Name::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->name = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->name = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::MacroDefinition::Expression::get() +::System::String^ CppSharp::Parser::AST::MacroDefinition::Expression::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->expression); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->expression); } -void CppSharp::Parser::AST::MacroDefinition::Expression::set(System::String^ value) +void CppSharp::Parser::AST::MacroDefinition::Expression::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->expression = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->expression = clix::marshalString(value); } int CppSharp::Parser::AST::MacroDefinition::LineNumberStart::get() { - return ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberStart; + return ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberStart; } void CppSharp::Parser::AST::MacroDefinition::LineNumberStart::set(int value) { - ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberStart = value; + ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberStart = value; } int CppSharp::Parser::AST::MacroDefinition::LineNumberEnd::get() { - return ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberEnd; + return ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberEnd; } void CppSharp::Parser::AST::MacroDefinition::LineNumberEnd::set(int value) { - ((::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberEnd = value; + ((struct ::CppSharp::CppParser::AST::MacroDefinition*)NativePtr)->lineNumberEnd = value; } -CppSharp::Parser::AST::MacroExpansion::MacroExpansion(::CppSharp::CppParser::AST::MacroExpansion* native) +CppSharp::Parser::AST::MacroExpansion::MacroExpansion(struct ::CppSharp::CppParser::AST::MacroExpansion* native) : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native) { } CppSharp::Parser::AST::MacroExpansion^ CppSharp::Parser::AST::MacroExpansion::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MacroExpansion((::CppSharp::CppParser::AST::MacroExpansion*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MacroExpansion((struct ::CppSharp::CppParser::AST::MacroExpansion*) native.ToPointer()); } -CppSharp::Parser::AST::MacroExpansion::MacroExpansion(::CppSharp::CppParser::AST::MacroExpansion* native, bool ownNativeInstance) +CppSharp::Parser::AST::MacroExpansion::MacroExpansion(struct ::CppSharp::CppParser::AST::MacroExpansion* native, bool ownNativeInstance) : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)native, ownNativeInstance) { } CppSharp::Parser::AST::MacroExpansion^ CppSharp::Parser::AST::MacroExpansion::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MacroExpansion((::CppSharp::CppParser::AST::MacroExpansion*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MacroExpansion((struct ::CppSharp::CppParser::AST::MacroExpansion*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MacroExpansion::~MacroExpansion() @@ -5276,7 +5307,7 @@ CppSharp::Parser::AST::MacroExpansion::~MacroExpansion() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::MacroExpansion*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::MacroExpansion*) __nativePtr; } } @@ -5284,7 +5315,7 @@ CppSharp::Parser::AST::MacroExpansion::MacroExpansion() : CppSharp::Parser::AST::PreprocessedEntity((::CppSharp::CppParser::AST::PreprocessedEntity*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MacroExpansion(); + NativePtr = new struct ::CppSharp::CppParser::AST::MacroExpansion(); } CppSharp::Parser::AST::MacroExpansion::MacroExpansion(CppSharp::Parser::AST::MacroExpansion^ _0) @@ -5293,58 +5324,58 @@ CppSharp::Parser::AST::MacroExpansion::MacroExpansion(CppSharp::Parser::AST::Mac __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MacroExpansion*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MacroExpansion(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MacroExpansion*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MacroExpansion(__arg0); } -System::String^ CppSharp::Parser::AST::MacroExpansion::Name::get() +::System::String^ CppSharp::Parser::AST::MacroExpansion::Name::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->name); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->name); } -void CppSharp::Parser::AST::MacroExpansion::Name::set(System::String^ value) +void CppSharp::Parser::AST::MacroExpansion::Name::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->name = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->name = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::MacroExpansion::Text::get() +::System::String^ CppSharp::Parser::AST::MacroExpansion::Text::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->text); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->text); } -void CppSharp::Parser::AST::MacroExpansion::Text::set(System::String^ value) +void CppSharp::Parser::AST::MacroExpansion::Text::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->text = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->text = clix::marshalString(value); } CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::MacroExpansion::Definition::get() { - return (((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*)((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition); + return (((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((struct ::CppSharp::CppParser::AST::MacroDefinition*)((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition); } void CppSharp::Parser::AST::MacroExpansion::Definition::set(CppSharp::Parser::AST::MacroDefinition^ value) { - ((::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition = (::CppSharp::CppParser::AST::MacroDefinition*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MacroExpansion*)NativePtr)->definition = (struct ::CppSharp::CppParser::AST::MacroDefinition*)value->NativePtr; } -CppSharp::Parser::AST::TranslationUnit::TranslationUnit(::CppSharp::CppParser::AST::TranslationUnit* native) +CppSharp::Parser::AST::TranslationUnit::TranslationUnit(struct ::CppSharp::CppParser::AST::TranslationUnit* native) : CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)native) { } CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::TranslationUnit::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TranslationUnit((struct ::CppSharp::CppParser::AST::TranslationUnit*) native.ToPointer()); } -CppSharp::Parser::AST::TranslationUnit::TranslationUnit(::CppSharp::CppParser::AST::TranslationUnit* native, bool ownNativeInstance) +CppSharp::Parser::AST::TranslationUnit::TranslationUnit(struct ::CppSharp::CppParser::AST::TranslationUnit* native, bool ownNativeInstance) : CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)native, ownNativeInstance) { } CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::TranslationUnit::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TranslationUnit((struct ::CppSharp::CppParser::AST::TranslationUnit*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TranslationUnit::~TranslationUnit() @@ -5353,7 +5384,7 @@ CppSharp::Parser::AST::TranslationUnit::~TranslationUnit() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TranslationUnit*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TranslationUnit*) __nativePtr; } } @@ -5361,27 +5392,27 @@ CppSharp::Parser::AST::TranslationUnit::TranslationUnit() : CppSharp::Parser::AST::Namespace((::CppSharp::CppParser::AST::Namespace*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TranslationUnit(); + NativePtr = new struct ::CppSharp::CppParser::AST::TranslationUnit(); } CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::TranslationUnit::GetMacros(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacros(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacros(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((struct ::CppSharp::CppParser::AST::MacroDefinition*)__ret); } void CppSharp::Parser::AST::TranslationUnit::AddMacros(CppSharp::Parser::AST::MacroDefinition^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::MacroDefinition*)s->NativePtr; - ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->addMacros(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::MacroDefinition*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->addMacros(__arg0); } void CppSharp::Parser::AST::TranslationUnit::ClearMacros() { - ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->clearMacros(); + ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->clearMacros(); } CppSharp::Parser::AST::TranslationUnit::TranslationUnit(CppSharp::Parser::AST::TranslationUnit^ _0) @@ -5390,59 +5421,60 @@ CppSharp::Parser::AST::TranslationUnit::TranslationUnit(CppSharp::Parser::AST::T __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TranslationUnit*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TranslationUnit(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TranslationUnit*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TranslationUnit(__arg0); } -System::String^ CppSharp::Parser::AST::TranslationUnit::FileName::get() +::System::String^ CppSharp::Parser::AST::TranslationUnit::FileName::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->fileName); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->fileName); } -void CppSharp::Parser::AST::TranslationUnit::FileName::set(System::String^ value) +void CppSharp::Parser::AST::TranslationUnit::FileName::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->fileName = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->fileName = clix::marshalString(value); } bool CppSharp::Parser::AST::TranslationUnit::IsSystemHeader::get() { - return ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->isSystemHeader; + return ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->isSystemHeader; } void CppSharp::Parser::AST::TranslationUnit::IsSystemHeader::set(bool value) { - ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->isSystemHeader = value; + ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->isSystemHeader = value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::TranslationUnit::Macros::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::TranslationUnit::Macros::get() { - auto _tmp__Macros = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->Macros) + auto _tmp__Macros = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->Macros; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((::CppSharp::CppParser::AST::MacroDefinition*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::MacroDefinition((struct ::CppSharp::CppParser::AST::MacroDefinition*)_element); _tmp__Macros->Add(_marshalElement); } return _tmp__Macros; } -void CppSharp::Parser::AST::TranslationUnit::Macros::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::TranslationUnit::Macros::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::MacroDefinition*>(); for each(CppSharp::Parser::AST::MacroDefinition^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::MacroDefinition*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::MacroDefinition*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->Macros = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->Macros = _tmpvalue; } unsigned int CppSharp::Parser::AST::TranslationUnit::MacrosCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacrosCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::TranslationUnit*)NativePtr)->getMacrosCount(); return __ret; } -CppSharp::Parser::AST::ASTContext::ASTContext(::CppSharp::CppParser::AST::ASTContext* native) +CppSharp::Parser::AST::ASTContext::ASTContext(struct ::CppSharp::CppParser::AST::ASTContext* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -5450,10 +5482,10 @@ CppSharp::Parser::AST::ASTContext::ASTContext(::CppSharp::CppParser::AST::ASTCon CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::AST::ASTContext::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ASTContext((struct ::CppSharp::CppParser::AST::ASTContext*) native.ToPointer()); } -CppSharp::Parser::AST::ASTContext::ASTContext(::CppSharp::CppParser::AST::ASTContext* native, bool ownNativeInstance) +CppSharp::Parser::AST::ASTContext::ASTContext(struct ::CppSharp::CppParser::AST::ASTContext* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -5461,7 +5493,7 @@ CppSharp::Parser::AST::ASTContext::ASTContext(::CppSharp::CppParser::AST::ASTCon CppSharp::Parser::AST::ASTContext^ CppSharp::Parser::AST::ASTContext::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ASTContext((::CppSharp::CppParser::AST::ASTContext*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ASTContext((struct ::CppSharp::CppParser::AST::ASTContext*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ASTContext::~ASTContext() @@ -5472,35 +5504,35 @@ CppSharp::Parser::AST::ASTContext::~ASTContext() CppSharp::Parser::AST::ASTContext::ASTContext() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ASTContext(); + NativePtr = new struct ::CppSharp::CppParser::AST::ASTContext(); } -CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::ASTContext::FindOrCreateModule(System::String^ File) +CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::ASTContext::FindOrCreateModule(::System::String^ File) { auto __arg0 = clix::marshalString(File); - auto __ret = ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->FindOrCreateModule(__arg0); + auto __ret = ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->FindOrCreateModule(__arg0); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((struct ::CppSharp::CppParser::AST::TranslationUnit*)__ret); } CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::ASTContext::GetTranslationUnits(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnits(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnits(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((struct ::CppSharp::CppParser::AST::TranslationUnit*)__ret); } void CppSharp::Parser::AST::ASTContext::AddTranslationUnits(CppSharp::Parser::AST::TranslationUnit^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::TranslationUnit*)s->NativePtr; - ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->addTranslationUnits(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::TranslationUnit*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->addTranslationUnits(__arg0); } void CppSharp::Parser::AST::ASTContext::ClearTranslationUnits() { - ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->clearTranslationUnits(); + ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->clearTranslationUnits(); } CppSharp::Parser::AST::ASTContext::ASTContext(CppSharp::Parser::AST::ASTContext^ _0) @@ -5508,45 +5540,46 @@ CppSharp::Parser::AST::ASTContext::ASTContext(CppSharp::Parser::AST::ASTContext^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ASTContext*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ASTContext(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ASTContext*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ASTContext(__arg0); } -System::IntPtr CppSharp::Parser::AST::ASTContext::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::ASTContext::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::ASTContext::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::ASTContext::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::ASTContext*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::ASTContext*)object.ToPointer(); } -System::Collections::Generic::List^ CppSharp::Parser::AST::ASTContext::TranslationUnits::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::ASTContext::TranslationUnits::get() { - auto _tmp__TranslationUnits = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->TranslationUnits) + auto _tmp__TranslationUnits = gcnew ::System::Collections::Generic::List(); + auto __list0 = NativePtr->TranslationUnits; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((::CppSharp::CppParser::AST::TranslationUnit*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TranslationUnit((struct ::CppSharp::CppParser::AST::TranslationUnit*)_element); _tmp__TranslationUnits->Add(_marshalElement); } return _tmp__TranslationUnits; } -void CppSharp::Parser::AST::ASTContext::TranslationUnits::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::ASTContext::TranslationUnits::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TranslationUnit*>(); for each(CppSharp::Parser::AST::TranslationUnit^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::TranslationUnit*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::TranslationUnit*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->TranslationUnits = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->TranslationUnits = _tmpvalue; } unsigned int CppSharp::Parser::AST::ASTContext::TranslationUnitsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnitsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::ASTContext*)NativePtr)->getTranslationUnitsCount(); return __ret; } diff --git a/src/CppParser/Bindings/CLI/Decl.h b/src/CppParser/Bindings/CLI/Decl.h index f562d161..c4fea436 100644 --- a/src/CppParser/Bindings/CLI/Decl.h +++ b/src/CppParser/Bindings/CLI/Decl.h @@ -284,15 +284,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::Declaration* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::Declaration* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Declaration(::CppSharp::CppParser::AST::Declaration* native); - Declaration(::CppSharp::CppParser::AST::Declaration* native, bool ownNativeInstance); + Declaration(struct ::CppSharp::CppParser::AST::Declaration* native); + Declaration(struct ::CppSharp::CppParser::AST::Declaration* native, bool ownNativeInstance); static Declaration^ __CreateInstance(::System::IntPtr native); static Declaration^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Declaration(CppSharp::Parser::AST::DeclarationKind kind); @@ -349,22 +349,22 @@ namespace CppSharp void set(int); } - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ USR + property ::System::String^ USR { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ DebugText + property ::System::String^ DebugText { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property bool IsIncomplete @@ -409,16 +409,16 @@ namespace CppSharp void set(unsigned int); } - property System::Collections::Generic::List^ PreprocessedEntities + property ::System::Collections::Generic::List^ PreprocessedEntities { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Redeclarations + property ::System::Collections::Generic::List^ Redeclarations { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property ::System::IntPtr OriginalPtr @@ -466,8 +466,8 @@ namespace CppSharp { public: - DeclarationContext(::CppSharp::CppParser::AST::DeclarationContext* native); - DeclarationContext(::CppSharp::CppParser::AST::DeclarationContext* native, bool ownNativeInstance); + DeclarationContext(struct ::CppSharp::CppParser::AST::DeclarationContext* native); + DeclarationContext(struct ::CppSharp::CppParser::AST::DeclarationContext* native, bool ownNativeInstance); static DeclarationContext^ __CreateInstance(::System::IntPtr native); static DeclarationContext^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DeclarationContext(CppSharp::Parser::AST::DeclarationKind kind); @@ -476,58 +476,58 @@ namespace CppSharp ~DeclarationContext(); - property System::Collections::Generic::List^ Namespaces + property ::System::Collections::Generic::List^ Namespaces { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Enums + property ::System::Collections::Generic::List^ Enums { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Functions + property ::System::Collections::Generic::List^ Functions { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Classes + property ::System::Collections::Generic::List^ Classes { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Templates + property ::System::Collections::Generic::List^ Templates { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Typedefs + property ::System::Collections::Generic::List^ Typedefs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ TypeAliases + property ::System::Collections::Generic::List^ TypeAliases { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Variables + property ::System::Collections::Generic::List^ Variables { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Friends + property ::System::Collections::Generic::List^ Friends { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property bool IsAnonymous @@ -642,8 +642,8 @@ namespace CppSharp { public: - TypedefNameDecl(::CppSharp::CppParser::AST::TypedefNameDecl* native); - TypedefNameDecl(::CppSharp::CppParser::AST::TypedefNameDecl* native, bool ownNativeInstance); + TypedefNameDecl(struct ::CppSharp::CppParser::AST::TypedefNameDecl* native); + TypedefNameDecl(struct ::CppSharp::CppParser::AST::TypedefNameDecl* native, bool ownNativeInstance); static TypedefNameDecl^ __CreateInstance(::System::IntPtr native); static TypedefNameDecl^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypedefNameDecl(CppSharp::Parser::AST::DeclarationKind kind); @@ -665,8 +665,8 @@ namespace CppSharp { public: - TypedefDecl(::CppSharp::CppParser::AST::TypedefDecl* native); - TypedefDecl(::CppSharp::CppParser::AST::TypedefDecl* native, bool ownNativeInstance); + TypedefDecl(struct ::CppSharp::CppParser::AST::TypedefDecl* native); + TypedefDecl(struct ::CppSharp::CppParser::AST::TypedefDecl* native, bool ownNativeInstance); static TypedefDecl^ __CreateInstance(::System::IntPtr native); static TypedefDecl^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypedefDecl(); @@ -680,8 +680,8 @@ namespace CppSharp { public: - TypeAlias(::CppSharp::CppParser::AST::TypeAlias* native); - TypeAlias(::CppSharp::CppParser::AST::TypeAlias* native, bool ownNativeInstance); + TypeAlias(struct ::CppSharp::CppParser::AST::TypeAlias* native); + TypeAlias(struct ::CppSharp::CppParser::AST::TypeAlias* native, bool ownNativeInstance); static TypeAlias^ __CreateInstance(::System::IntPtr native); static TypeAlias^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypeAlias(); @@ -701,8 +701,8 @@ namespace CppSharp { public: - Friend(::CppSharp::CppParser::AST::Friend* native); - Friend(::CppSharp::CppParser::AST::Friend* native, bool ownNativeInstance); + Friend(struct ::CppSharp::CppParser::AST::Friend* native); + Friend(struct ::CppSharp::CppParser::AST::Friend* native, bool ownNativeInstance); static Friend^ __CreateInstance(::System::IntPtr native); static Friend^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Friend(); @@ -722,18 +722,18 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::StatementObsolete* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::StatementObsolete* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - StatementObsolete(::CppSharp::CppParser::AST::StatementObsolete* native); - StatementObsolete(::CppSharp::CppParser::AST::StatementObsolete* native, bool ownNativeInstance); + StatementObsolete(struct ::CppSharp::CppParser::AST::StatementObsolete* native); + StatementObsolete(struct ::CppSharp::CppParser::AST::StatementObsolete* native, bool ownNativeInstance); static StatementObsolete^ __CreateInstance(::System::IntPtr native); static StatementObsolete^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); - StatementObsolete(System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl); + StatementObsolete(::System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl); StatementObsolete(CppSharp::Parser::AST::StatementObsolete^ _0); @@ -751,10 +751,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Declaration^); } - property System::String^ String + property ::System::String^ String { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } protected: @@ -766,11 +766,11 @@ namespace CppSharp { public: - ExpressionObsolete(::CppSharp::CppParser::AST::ExpressionObsolete* native); - ExpressionObsolete(::CppSharp::CppParser::AST::ExpressionObsolete* native, bool ownNativeInstance); + ExpressionObsolete(struct ::CppSharp::CppParser::AST::ExpressionObsolete* native); + ExpressionObsolete(struct ::CppSharp::CppParser::AST::ExpressionObsolete* native, bool ownNativeInstance); static ExpressionObsolete^ __CreateInstance(::System::IntPtr native); static ExpressionObsolete^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); - ExpressionObsolete(System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl); + ExpressionObsolete(::System::String^ str, CppSharp::Parser::AST::StatementClassObsolete Class, CppSharp::Parser::AST::Declaration^ decl); ExpressionObsolete(CppSharp::Parser::AST::ExpressionObsolete^ _0); @@ -781,11 +781,11 @@ namespace CppSharp { public: - BinaryOperatorObsolete(::CppSharp::CppParser::AST::BinaryOperatorObsolete* native); - BinaryOperatorObsolete(::CppSharp::CppParser::AST::BinaryOperatorObsolete* native, bool ownNativeInstance); + BinaryOperatorObsolete(struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete* native); + BinaryOperatorObsolete(struct ::CppSharp::CppParser::AST::BinaryOperatorObsolete* native, bool ownNativeInstance); static BinaryOperatorObsolete^ __CreateInstance(::System::IntPtr native); static BinaryOperatorObsolete^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); - BinaryOperatorObsolete(System::String^ str, CppSharp::Parser::AST::ExpressionObsolete^ lhs, CppSharp::Parser::AST::ExpressionObsolete^ rhs, System::String^ opcodeStr); + BinaryOperatorObsolete(::System::String^ str, CppSharp::Parser::AST::ExpressionObsolete^ lhs, CppSharp::Parser::AST::ExpressionObsolete^ rhs, ::System::String^ opcodeStr); BinaryOperatorObsolete(CppSharp::Parser::AST::BinaryOperatorObsolete^ _0); @@ -803,10 +803,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::ExpressionObsolete^); } - property System::String^ OpcodeStr + property ::System::String^ OpcodeStr { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -814,20 +814,20 @@ namespace CppSharp { public: - CallExprObsolete(::CppSharp::CppParser::AST::CallExprObsolete* native); - CallExprObsolete(::CppSharp::CppParser::AST::CallExprObsolete* native, bool ownNativeInstance); + CallExprObsolete(struct ::CppSharp::CppParser::AST::CallExprObsolete* native); + CallExprObsolete(struct ::CppSharp::CppParser::AST::CallExprObsolete* native, bool ownNativeInstance); static CallExprObsolete^ __CreateInstance(::System::IntPtr native); static CallExprObsolete^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); - CallExprObsolete(System::String^ str, CppSharp::Parser::AST::Declaration^ decl); + CallExprObsolete(::System::String^ str, CppSharp::Parser::AST::Declaration^ decl); CallExprObsolete(CppSharp::Parser::AST::CallExprObsolete^ _0); ~CallExprObsolete(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ArgumentsCount @@ -846,20 +846,20 @@ namespace CppSharp { public: - CXXConstructExprObsolete(::CppSharp::CppParser::AST::CXXConstructExprObsolete* native); - CXXConstructExprObsolete(::CppSharp::CppParser::AST::CXXConstructExprObsolete* native, bool ownNativeInstance); + CXXConstructExprObsolete(struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete* native); + CXXConstructExprObsolete(struct ::CppSharp::CppParser::AST::CXXConstructExprObsolete* native, bool ownNativeInstance); static CXXConstructExprObsolete^ __CreateInstance(::System::IntPtr native); static CXXConstructExprObsolete^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); - CXXConstructExprObsolete(System::String^ str, CppSharp::Parser::AST::Declaration^ decl); + CXXConstructExprObsolete(::System::String^ str, CppSharp::Parser::AST::Declaration^ decl); CXXConstructExprObsolete(CppSharp::Parser::AST::CXXConstructExprObsolete^ _0); ~CXXConstructExprObsolete(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ArgumentsCount @@ -878,8 +878,8 @@ namespace CppSharp { public: - Parameter(::CppSharp::CppParser::AST::Parameter* native); - Parameter(::CppSharp::CppParser::AST::Parameter* native, bool ownNativeInstance); + Parameter(struct ::CppSharp::CppParser::AST::Parameter* native); + Parameter(struct ::CppSharp::CppParser::AST::Parameter* native, bool ownNativeInstance); static Parameter^ __CreateInstance(::System::IntPtr native); static Parameter^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Parameter(); @@ -929,8 +929,8 @@ namespace CppSharp { public: - Function(::CppSharp::CppParser::AST::Function* native); - Function(::CppSharp::CppParser::AST::Function* native, bool ownNativeInstance); + Function(struct ::CppSharp::CppParser::AST::Function* native); + Function(struct ::CppSharp::CppParser::AST::Function* native, bool ownNativeInstance); static Function^ __CreateInstance(::System::IntPtr native); static Function^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Function(); @@ -1005,22 +1005,22 @@ namespace CppSharp void set(CppSharp::Parser::AST::CXXOperatorKind); } - property System::String^ Mangled + property ::System::String^ Mangled { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Signature + property ::System::String^ Signature { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Body + property ::System::String^ Body { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::Stmt^ BodyStmt @@ -1035,10 +1035,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::CallingConvention); } - property System::Collections::Generic::List^ Parameters + property ::System::Collections::Generic::List^ Parameters { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::FunctionTemplateSpecialization^ SpecializationInfo @@ -1075,8 +1075,8 @@ namespace CppSharp { public: - Method(::CppSharp::CppParser::AST::Method* native); - Method(::CppSharp::CppParser::AST::Method* native, bool ownNativeInstance); + Method(struct ::CppSharp::CppParser::AST::Method* native); + Method(struct ::CppSharp::CppParser::AST::Method* native, bool ownNativeInstance); static Method^ __CreateInstance(::System::IntPtr native); static Method^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Method(); @@ -1145,10 +1145,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::RefQualifierKind); } - property System::Collections::Generic::List^ OverriddenMethods + property ::System::Collections::Generic::List^ OverriddenMethods { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int OverriddenMethodsCount @@ -1167,7 +1167,7 @@ namespace CppSharp { public: - [System::Flags] + [::System::Flags] enum class EnumModifiers { Anonymous = 1, @@ -1179,8 +1179,8 @@ namespace CppSharp { public: - Item(::CppSharp::CppParser::AST::Enumeration::Item* native); - Item(::CppSharp::CppParser::AST::Enumeration::Item* native, bool ownNativeInstance); + Item(struct ::CppSharp::CppParser::AST::Enumeration::Item* native); + Item(struct ::CppSharp::CppParser::AST::Enumeration::Item* native, bool ownNativeInstance); static Item^ __CreateInstance(::System::IntPtr native); static Item^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Item(); @@ -1189,10 +1189,10 @@ namespace CppSharp ~Item(); - property System::String^ Expression + property ::System::String^ Expression { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property unsigned long long Value @@ -1202,8 +1202,8 @@ namespace CppSharp } }; - Enumeration(::CppSharp::CppParser::AST::Enumeration* native); - Enumeration(::CppSharp::CppParser::AST::Enumeration* native, bool ownNativeInstance); + Enumeration(struct ::CppSharp::CppParser::AST::Enumeration* native); + Enumeration(struct ::CppSharp::CppParser::AST::Enumeration* native, bool ownNativeInstance); static Enumeration^ __CreateInstance(::System::IntPtr native); static Enumeration^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Enumeration(); @@ -1230,10 +1230,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::BuiltinType^); } - property System::Collections::Generic::List^ Items + property ::System::Collections::Generic::List^ Items { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ItemsCount @@ -1247,15 +1247,15 @@ namespace CppSharp void ClearItems(); - CppSharp::Parser::AST::Enumeration::Item^ FindItemByName(System::String^ Name); + CppSharp::Parser::AST::Enumeration::Item^ FindItemByName(::System::String^ Name); }; public ref class Variable : CppSharp::Parser::AST::Declaration { public: - Variable(::CppSharp::CppParser::AST::Variable* native); - Variable(::CppSharp::CppParser::AST::Variable* native, bool ownNativeInstance); + Variable(struct ::CppSharp::CppParser::AST::Variable* native); + Variable(struct ::CppSharp::CppParser::AST::Variable* native, bool ownNativeInstance); static Variable^ __CreateInstance(::System::IntPtr native); static Variable^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Variable(); @@ -1270,10 +1270,10 @@ namespace CppSharp void set(bool); } - property System::String^ Mangled + property ::System::String^ Mangled { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::QualifiedType^ QualifiedType @@ -1293,15 +1293,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::BaseClassSpecifier* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::BaseClassSpecifier* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - BaseClassSpecifier(::CppSharp::CppParser::AST::BaseClassSpecifier* native); - BaseClassSpecifier(::CppSharp::CppParser::AST::BaseClassSpecifier* native, bool ownNativeInstance); + BaseClassSpecifier(struct ::CppSharp::CppParser::AST::BaseClassSpecifier* native); + BaseClassSpecifier(struct ::CppSharp::CppParser::AST::BaseClassSpecifier* native, bool ownNativeInstance); static BaseClassSpecifier^ __CreateInstance(::System::IntPtr native); static BaseClassSpecifier^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BaseClassSpecifier(); @@ -1343,8 +1343,8 @@ namespace CppSharp { public: - Field(::CppSharp::CppParser::AST::Field* native); - Field(::CppSharp::CppParser::AST::Field* native, bool ownNativeInstance); + Field(struct ::CppSharp::CppParser::AST::Field* native); + Field(struct ::CppSharp::CppParser::AST::Field* native, bool ownNativeInstance); static Field^ __CreateInstance(::System::IntPtr native); static Field^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Field(); @@ -1382,8 +1382,8 @@ namespace CppSharp { public: - AccessSpecifierDecl(::CppSharp::CppParser::AST::AccessSpecifierDecl* native); - AccessSpecifierDecl(::CppSharp::CppParser::AST::AccessSpecifierDecl* native, bool ownNativeInstance); + AccessSpecifierDecl(struct ::CppSharp::CppParser::AST::AccessSpecifierDecl* native); + AccessSpecifierDecl(struct ::CppSharp::CppParser::AST::AccessSpecifierDecl* native, bool ownNativeInstance); static AccessSpecifierDecl^ __CreateInstance(::System::IntPtr native); static AccessSpecifierDecl^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AccessSpecifierDecl(); @@ -1397,15 +1397,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::VTableComponent* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::VTableComponent* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - VTableComponent(::CppSharp::CppParser::AST::VTableComponent* native); - VTableComponent(::CppSharp::CppParser::AST::VTableComponent* native, bool ownNativeInstance); + VTableComponent(struct ::CppSharp::CppParser::AST::VTableComponent* native); + VTableComponent(struct ::CppSharp::CppParser::AST::VTableComponent* native, bool ownNativeInstance); static VTableComponent^ __CreateInstance(::System::IntPtr native); static VTableComponent^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VTableComponent(); @@ -1441,15 +1441,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::VTableLayout* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::VTableLayout* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - VTableLayout(::CppSharp::CppParser::AST::VTableLayout* native); - VTableLayout(::CppSharp::CppParser::AST::VTableLayout* native, bool ownNativeInstance); + VTableLayout(struct ::CppSharp::CppParser::AST::VTableLayout* native); + VTableLayout(struct ::CppSharp::CppParser::AST::VTableLayout* native, bool ownNativeInstance); static VTableLayout^ __CreateInstance(::System::IntPtr native); static VTableLayout^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VTableLayout(); @@ -1458,10 +1458,10 @@ namespace CppSharp ~VTableLayout(); - property System::Collections::Generic::List^ Components + property ::System::Collections::Generic::List^ Components { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ComponentsCount @@ -1484,15 +1484,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::VFTableInfo* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::VFTableInfo* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - VFTableInfo(::CppSharp::CppParser::AST::VFTableInfo* native); - VFTableInfo(::CppSharp::CppParser::AST::VFTableInfo* native, bool ownNativeInstance); + VFTableInfo(struct ::CppSharp::CppParser::AST::VFTableInfo* native); + VFTableInfo(struct ::CppSharp::CppParser::AST::VFTableInfo* native, bool ownNativeInstance); static VFTableInfo^ __CreateInstance(::System::IntPtr native); static VFTableInfo^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VFTableInfo(); @@ -1534,15 +1534,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::LayoutField* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::LayoutField* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - LayoutField(::CppSharp::CppParser::AST::LayoutField* native); - LayoutField(::CppSharp::CppParser::AST::LayoutField* native, bool ownNativeInstance); + LayoutField(struct ::CppSharp::CppParser::AST::LayoutField* native); + LayoutField(struct ::CppSharp::CppParser::AST::LayoutField* native, bool ownNativeInstance); static LayoutField^ __CreateInstance(::System::IntPtr native); static LayoutField^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); LayoutField(); @@ -1557,10 +1557,10 @@ namespace CppSharp void set(unsigned int); } - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::QualifiedType^ QualifiedType @@ -1584,15 +1584,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::LayoutBase* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::LayoutBase* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - LayoutBase(::CppSharp::CppParser::AST::LayoutBase* native); - LayoutBase(::CppSharp::CppParser::AST::LayoutBase* native, bool ownNativeInstance); + LayoutBase(struct ::CppSharp::CppParser::AST::LayoutBase* native); + LayoutBase(struct ::CppSharp::CppParser::AST::LayoutBase* native, bool ownNativeInstance); static LayoutBase^ __CreateInstance(::System::IntPtr native); static LayoutBase^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); LayoutBase(); @@ -1622,15 +1622,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::ClassLayout* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::ClassLayout* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ClassLayout(::CppSharp::CppParser::AST::ClassLayout* native); - ClassLayout(::CppSharp::CppParser::AST::ClassLayout* native, bool ownNativeInstance); + ClassLayout(struct ::CppSharp::CppParser::AST::ClassLayout* native); + ClassLayout(struct ::CppSharp::CppParser::AST::ClassLayout* native, bool ownNativeInstance); static ClassLayout^ __CreateInstance(::System::IntPtr native); static ClassLayout^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ClassLayout(); @@ -1651,10 +1651,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::RecordArgABI); } - property System::Collections::Generic::List^ VFTables + property ::System::Collections::Generic::List^ VFTables { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::VTableLayout^ Layout @@ -1693,16 +1693,16 @@ namespace CppSharp void set(int); } - property System::Collections::Generic::List^ Fields + property ::System::Collections::Generic::List^ Fields { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Bases + property ::System::Collections::Generic::List^ Bases { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int VFTablesCount @@ -1747,8 +1747,8 @@ namespace CppSharp { public: - Class(::CppSharp::CppParser::AST::Class* native); - Class(::CppSharp::CppParser::AST::Class* native, bool ownNativeInstance); + Class(struct ::CppSharp::CppParser::AST::Class* native); + Class(struct ::CppSharp::CppParser::AST::Class* native, bool ownNativeInstance); static Class^ __CreateInstance(::System::IntPtr native); static Class^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Class(); @@ -1757,28 +1757,28 @@ namespace CppSharp ~Class(); - property System::Collections::Generic::List^ Bases + property ::System::Collections::Generic::List^ Bases { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Fields + property ::System::Collections::Generic::List^ Fields { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Methods + property ::System::Collections::Generic::List^ Methods { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Specifiers + property ::System::Collections::Generic::List^ Specifiers { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property bool IsPOD @@ -1896,8 +1896,8 @@ namespace CppSharp { public: - Template(::CppSharp::CppParser::AST::Template* native); - Template(::CppSharp::CppParser::AST::Template* native, bool ownNativeInstance); + Template(struct ::CppSharp::CppParser::AST::Template* native); + Template(struct ::CppSharp::CppParser::AST::Template* native, bool ownNativeInstance); static Template^ __CreateInstance(::System::IntPtr native); static Template^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Template(CppSharp::Parser::AST::DeclarationKind kind); @@ -1914,10 +1914,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Declaration^); } - property System::Collections::Generic::List^ Parameters + property ::System::Collections::Generic::List^ Parameters { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ParametersCount @@ -1938,8 +1938,8 @@ namespace CppSharp { public: - TypeAliasTemplate(::CppSharp::CppParser::AST::TypeAliasTemplate* native); - TypeAliasTemplate(::CppSharp::CppParser::AST::TypeAliasTemplate* native, bool ownNativeInstance); + TypeAliasTemplate(struct ::CppSharp::CppParser::AST::TypeAliasTemplate* native); + TypeAliasTemplate(struct ::CppSharp::CppParser::AST::TypeAliasTemplate* native, bool ownNativeInstance); static TypeAliasTemplate^ __CreateInstance(::System::IntPtr native); static TypeAliasTemplate^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypeAliasTemplate(); @@ -1953,8 +1953,8 @@ namespace CppSharp { public: - TemplateParameter(::CppSharp::CppParser::AST::TemplateParameter* native); - TemplateParameter(::CppSharp::CppParser::AST::TemplateParameter* native, bool ownNativeInstance); + TemplateParameter(struct ::CppSharp::CppParser::AST::TemplateParameter* native); + TemplateParameter(struct ::CppSharp::CppParser::AST::TemplateParameter* native, bool ownNativeInstance); static TemplateParameter^ __CreateInstance(::System::IntPtr native); static TemplateParameter^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateParameter(CppSharp::Parser::AST::DeclarationKind kind); @@ -1988,8 +1988,8 @@ namespace CppSharp { public: - TemplateTemplateParameter(::CppSharp::CppParser::AST::TemplateTemplateParameter* native); - TemplateTemplateParameter(::CppSharp::CppParser::AST::TemplateTemplateParameter* native, bool ownNativeInstance); + TemplateTemplateParameter(struct ::CppSharp::CppParser::AST::TemplateTemplateParameter* native); + TemplateTemplateParameter(struct ::CppSharp::CppParser::AST::TemplateTemplateParameter* native, bool ownNativeInstance); static TemplateTemplateParameter^ __CreateInstance(::System::IntPtr native); static TemplateTemplateParameter^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateTemplateParameter(); @@ -2021,8 +2021,8 @@ namespace CppSharp { public: - TypeTemplateParameter(::CppSharp::CppParser::AST::TypeTemplateParameter* native); - TypeTemplateParameter(::CppSharp::CppParser::AST::TypeTemplateParameter* native, bool ownNativeInstance); + TypeTemplateParameter(struct ::CppSharp::CppParser::AST::TypeTemplateParameter* native); + TypeTemplateParameter(struct ::CppSharp::CppParser::AST::TypeTemplateParameter* native, bool ownNativeInstance); static TypeTemplateParameter^ __CreateInstance(::System::IntPtr native); static TypeTemplateParameter^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypeTemplateParameter(); @@ -2042,8 +2042,8 @@ namespace CppSharp { public: - NonTypeTemplateParameter(::CppSharp::CppParser::AST::NonTypeTemplateParameter* native); - NonTypeTemplateParameter(::CppSharp::CppParser::AST::NonTypeTemplateParameter* native, bool ownNativeInstance); + NonTypeTemplateParameter(struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter* native); + NonTypeTemplateParameter(struct ::CppSharp::CppParser::AST::NonTypeTemplateParameter* native, bool ownNativeInstance); static NonTypeTemplateParameter^ __CreateInstance(::System::IntPtr native); static NonTypeTemplateParameter^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); NonTypeTemplateParameter(); @@ -2087,8 +2087,8 @@ namespace CppSharp { public: - ClassTemplate(::CppSharp::CppParser::AST::ClassTemplate* native); - ClassTemplate(::CppSharp::CppParser::AST::ClassTemplate* native, bool ownNativeInstance); + ClassTemplate(struct ::CppSharp::CppParser::AST::ClassTemplate* native); + ClassTemplate(struct ::CppSharp::CppParser::AST::ClassTemplate* native, bool ownNativeInstance); static ClassTemplate^ __CreateInstance(::System::IntPtr native); static ClassTemplate^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ClassTemplate(); @@ -2097,10 +2097,10 @@ namespace CppSharp ~ClassTemplate(); - property System::Collections::Generic::List^ Specializations + property ::System::Collections::Generic::List^ Specializations { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int SpecializationsCount @@ -2114,17 +2114,17 @@ namespace CppSharp void ClearSpecializations(); - CppSharp::Parser::AST::ClassTemplateSpecialization^ FindSpecialization(System::String^ usr); + CppSharp::Parser::AST::ClassTemplateSpecialization^ FindSpecialization(::System::String^ usr); - CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ FindPartialSpecialization(System::String^ usr); + CppSharp::Parser::AST::ClassTemplatePartialSpecialization^ FindPartialSpecialization(::System::String^ usr); }; public ref class ClassTemplateSpecialization : CppSharp::Parser::AST::Class { public: - ClassTemplateSpecialization(::CppSharp::CppParser::AST::ClassTemplateSpecialization* native); - ClassTemplateSpecialization(::CppSharp::CppParser::AST::ClassTemplateSpecialization* native, bool ownNativeInstance); + ClassTemplateSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization* native); + ClassTemplateSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplateSpecialization* native, bool ownNativeInstance); static ClassTemplateSpecialization^ __CreateInstance(::System::IntPtr native); static ClassTemplateSpecialization^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ClassTemplateSpecialization(); @@ -2139,10 +2139,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::ClassTemplate^); } - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::TemplateSpecializationKind SpecializationKind @@ -2167,8 +2167,8 @@ namespace CppSharp { public: - ClassTemplatePartialSpecialization(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native); - ClassTemplatePartialSpecialization(::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native, bool ownNativeInstance); + ClassTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native); + ClassTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::ClassTemplatePartialSpecialization* native, bool ownNativeInstance); static ClassTemplatePartialSpecialization^ __CreateInstance(::System::IntPtr native); static ClassTemplatePartialSpecialization^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ClassTemplatePartialSpecialization(); @@ -2182,8 +2182,8 @@ namespace CppSharp { public: - FunctionTemplate(::CppSharp::CppParser::AST::FunctionTemplate* native); - FunctionTemplate(::CppSharp::CppParser::AST::FunctionTemplate* native, bool ownNativeInstance); + FunctionTemplate(struct ::CppSharp::CppParser::AST::FunctionTemplate* native); + FunctionTemplate(struct ::CppSharp::CppParser::AST::FunctionTemplate* native, bool ownNativeInstance); static FunctionTemplate^ __CreateInstance(::System::IntPtr native); static FunctionTemplate^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FunctionTemplate(); @@ -2192,10 +2192,10 @@ namespace CppSharp ~FunctionTemplate(); - property System::Collections::Generic::List^ Specializations + property ::System::Collections::Generic::List^ Specializations { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int SpecializationsCount @@ -2209,22 +2209,22 @@ namespace CppSharp void ClearSpecializations(); - CppSharp::Parser::AST::FunctionTemplateSpecialization^ FindSpecialization(System::String^ usr); + CppSharp::Parser::AST::FunctionTemplateSpecialization^ FindSpecialization(::System::String^ usr); }; public ref class FunctionTemplateSpecialization : ICppInstance { public: - property ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - FunctionTemplateSpecialization(::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native); - FunctionTemplateSpecialization(::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native, bool ownNativeInstance); + FunctionTemplateSpecialization(struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native); + FunctionTemplateSpecialization(struct ::CppSharp::CppParser::AST::FunctionTemplateSpecialization* native, bool ownNativeInstance); static FunctionTemplateSpecialization^ __CreateInstance(::System::IntPtr native); static FunctionTemplateSpecialization^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FunctionTemplateSpecialization(); @@ -2239,10 +2239,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::FunctionTemplate^); } - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::Function^ SpecializedFunction @@ -2277,8 +2277,8 @@ namespace CppSharp { public: - VarTemplate(::CppSharp::CppParser::AST::VarTemplate* native); - VarTemplate(::CppSharp::CppParser::AST::VarTemplate* native, bool ownNativeInstance); + VarTemplate(struct ::CppSharp::CppParser::AST::VarTemplate* native); + VarTemplate(struct ::CppSharp::CppParser::AST::VarTemplate* native, bool ownNativeInstance); static VarTemplate^ __CreateInstance(::System::IntPtr native); static VarTemplate^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VarTemplate(); @@ -2287,10 +2287,10 @@ namespace CppSharp ~VarTemplate(); - property System::Collections::Generic::List^ Specializations + property ::System::Collections::Generic::List^ Specializations { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int SpecializationsCount @@ -2304,17 +2304,17 @@ namespace CppSharp void ClearSpecializations(); - CppSharp::Parser::AST::VarTemplateSpecialization^ FindSpecialization(System::String^ usr); + CppSharp::Parser::AST::VarTemplateSpecialization^ FindSpecialization(::System::String^ usr); - CppSharp::Parser::AST::VarTemplatePartialSpecialization^ FindPartialSpecialization(System::String^ usr); + CppSharp::Parser::AST::VarTemplatePartialSpecialization^ FindPartialSpecialization(::System::String^ usr); }; public ref class VarTemplateSpecialization : CppSharp::Parser::AST::Variable { public: - VarTemplateSpecialization(::CppSharp::CppParser::AST::VarTemplateSpecialization* native); - VarTemplateSpecialization(::CppSharp::CppParser::AST::VarTemplateSpecialization* native, bool ownNativeInstance); + VarTemplateSpecialization(struct ::CppSharp::CppParser::AST::VarTemplateSpecialization* native); + VarTemplateSpecialization(struct ::CppSharp::CppParser::AST::VarTemplateSpecialization* native, bool ownNativeInstance); static VarTemplateSpecialization^ __CreateInstance(::System::IntPtr native); static VarTemplateSpecialization^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VarTemplateSpecialization(); @@ -2329,10 +2329,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::VarTemplate^); } - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::TemplateSpecializationKind SpecializationKind @@ -2357,8 +2357,8 @@ namespace CppSharp { public: - VarTemplatePartialSpecialization(::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native); - VarTemplatePartialSpecialization(::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native, bool ownNativeInstance); + VarTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native); + VarTemplatePartialSpecialization(struct ::CppSharp::CppParser::AST::VarTemplatePartialSpecialization* native, bool ownNativeInstance); static VarTemplatePartialSpecialization^ __CreateInstance(::System::IntPtr native); static VarTemplatePartialSpecialization^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VarTemplatePartialSpecialization(); @@ -2372,8 +2372,8 @@ namespace CppSharp { public: - UnresolvedUsingTypename(::CppSharp::CppParser::AST::UnresolvedUsingTypename* native); - UnresolvedUsingTypename(::CppSharp::CppParser::AST::UnresolvedUsingTypename* native, bool ownNativeInstance); + UnresolvedUsingTypename(struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename* native); + UnresolvedUsingTypename(struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename* native, bool ownNativeInstance); static UnresolvedUsingTypename^ __CreateInstance(::System::IntPtr native); static UnresolvedUsingTypename^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnresolvedUsingTypename(); @@ -2387,8 +2387,8 @@ namespace CppSharp { public: - Namespace(::CppSharp::CppParser::AST::Namespace* native); - Namespace(::CppSharp::CppParser::AST::Namespace* native, bool ownNativeInstance); + Namespace(struct ::CppSharp::CppParser::AST::Namespace* native); + Namespace(struct ::CppSharp::CppParser::AST::Namespace* native, bool ownNativeInstance); static Namespace^ __CreateInstance(::System::IntPtr native); static Namespace^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Namespace(); @@ -2408,15 +2408,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::PreprocessedEntity* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::PreprocessedEntity* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - PreprocessedEntity(::CppSharp::CppParser::AST::PreprocessedEntity* native); - PreprocessedEntity(::CppSharp::CppParser::AST::PreprocessedEntity* native, bool ownNativeInstance); + PreprocessedEntity(struct ::CppSharp::CppParser::AST::PreprocessedEntity* native); + PreprocessedEntity(struct ::CppSharp::CppParser::AST::PreprocessedEntity* native, bool ownNativeInstance); static PreprocessedEntity^ __CreateInstance(::System::IntPtr native); static PreprocessedEntity^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PreprocessedEntity(); @@ -2452,8 +2452,8 @@ namespace CppSharp { public: - MacroDefinition(::CppSharp::CppParser::AST::MacroDefinition* native); - MacroDefinition(::CppSharp::CppParser::AST::MacroDefinition* native, bool ownNativeInstance); + MacroDefinition(struct ::CppSharp::CppParser::AST::MacroDefinition* native); + MacroDefinition(struct ::CppSharp::CppParser::AST::MacroDefinition* native, bool ownNativeInstance); static MacroDefinition^ __CreateInstance(::System::IntPtr native); static MacroDefinition^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MacroDefinition(); @@ -2462,16 +2462,16 @@ namespace CppSharp ~MacroDefinition(); - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Expression + property ::System::String^ Expression { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property int LineNumberStart @@ -2491,8 +2491,8 @@ namespace CppSharp { public: - MacroExpansion(::CppSharp::CppParser::AST::MacroExpansion* native); - MacroExpansion(::CppSharp::CppParser::AST::MacroExpansion* native, bool ownNativeInstance); + MacroExpansion(struct ::CppSharp::CppParser::AST::MacroExpansion* native); + MacroExpansion(struct ::CppSharp::CppParser::AST::MacroExpansion* native, bool ownNativeInstance); static MacroExpansion^ __CreateInstance(::System::IntPtr native); static MacroExpansion^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MacroExpansion(); @@ -2501,16 +2501,16 @@ namespace CppSharp ~MacroExpansion(); - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Text + property ::System::String^ Text { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::MacroDefinition^ Definition @@ -2524,8 +2524,8 @@ namespace CppSharp { public: - TranslationUnit(::CppSharp::CppParser::AST::TranslationUnit* native); - TranslationUnit(::CppSharp::CppParser::AST::TranslationUnit* native, bool ownNativeInstance); + TranslationUnit(struct ::CppSharp::CppParser::AST::TranslationUnit* native); + TranslationUnit(struct ::CppSharp::CppParser::AST::TranslationUnit* native, bool ownNativeInstance); static TranslationUnit^ __CreateInstance(::System::IntPtr native); static TranslationUnit^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TranslationUnit(); @@ -2534,10 +2534,10 @@ namespace CppSharp ~TranslationUnit(); - property System::String^ FileName + property ::System::String^ FileName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property bool IsSystemHeader @@ -2546,10 +2546,10 @@ namespace CppSharp void set(bool); } - property System::Collections::Generic::List^ Macros + property ::System::Collections::Generic::List^ Macros { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int MacrosCount @@ -2568,15 +2568,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::ASTContext* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::ASTContext* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ASTContext(::CppSharp::CppParser::AST::ASTContext* native); - ASTContext(::CppSharp::CppParser::AST::ASTContext* native, bool ownNativeInstance); + ASTContext(struct ::CppSharp::CppParser::AST::ASTContext* native); + ASTContext(struct ::CppSharp::CppParser::AST::ASTContext* native, bool ownNativeInstance); static ASTContext^ __CreateInstance(::System::IntPtr native); static ASTContext^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ASTContext(); @@ -2585,10 +2585,10 @@ namespace CppSharp ~ASTContext(); - property System::Collections::Generic::List^ TranslationUnits + property ::System::Collections::Generic::List^ TranslationUnits { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int TranslationUnitsCount @@ -2596,7 +2596,7 @@ namespace CppSharp unsigned int get(); } - CppSharp::Parser::AST::TranslationUnit^ FindOrCreateModule(System::String^ File); + CppSharp::Parser::AST::TranslationUnit^ FindOrCreateModule(::System::String^ File); CppSharp::Parser::AST::TranslationUnit^ GetTranslationUnits(unsigned int i); diff --git a/src/CppParser/Bindings/CLI/Expr.cpp b/src/CppParser/Bindings/CLI/Expr.cpp index 3bf377b7..18bd690c 100644 --- a/src/CppParser/Bindings/CLI/Expr.cpp +++ b/src/CppParser/Bindings/CLI/Expr.cpp @@ -13,7 +13,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::AST::Expr::Classification::Classification(::CppSharp::CppParser::AST::Expr::Classification* native) +CppSharp::Parser::AST::Expr::Classification::Classification(struct ::CppSharp::CppParser::AST::Expr::Classification* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -21,10 +21,10 @@ CppSharp::Parser::AST::Expr::Classification::Classification(::CppSharp::CppParse CppSharp::Parser::AST::Expr::Classification^ CppSharp::Parser::AST::Expr::Classification::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Expr::Classification((::CppSharp::CppParser::AST::Expr::Classification*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Expr::Classification((struct ::CppSharp::CppParser::AST::Expr::Classification*) native.ToPointer()); } -CppSharp::Parser::AST::Expr::Classification::Classification(::CppSharp::CppParser::AST::Expr::Classification* native, bool ownNativeInstance) +CppSharp::Parser::AST::Expr::Classification::Classification(struct ::CppSharp::CppParser::AST::Expr::Classification* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -32,7 +32,7 @@ CppSharp::Parser::AST::Expr::Classification::Classification(::CppSharp::CppParse CppSharp::Parser::AST::Expr::Classification^ CppSharp::Parser::AST::Expr::Classification::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Expr::Classification((::CppSharp::CppParser::AST::Expr::Classification*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Expr::Classification((struct ::CppSharp::CppParser::AST::Expr::Classification*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Expr::Classification::~Classification() @@ -43,7 +43,7 @@ CppSharp::Parser::AST::Expr::Classification::~Classification() CppSharp::Parser::AST::Expr::Classification::Classification() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Expr::Classification(); + NativePtr = new struct ::CppSharp::CppParser::AST::Expr::Classification(); } CppSharp::Parser::AST::Expr::Classification::Classification(CppSharp::Parser::AST::Expr::Classification^ _0) @@ -51,118 +51,118 @@ CppSharp::Parser::AST::Expr::Classification::Classification(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Expr::Classification*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Expr::Classification(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Expr::Classification*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Expr::Classification(__arg0); } -System::IntPtr CppSharp::Parser::AST::Expr::Classification::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::Expr::Classification::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::Expr::Classification::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::Expr::Classification::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::Expr::Classification*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::Expr::Classification*)object.ToPointer(); } CppSharp::Parser::AST::Expr::Classification::Kinds CppSharp::Parser::AST::Expr::Classification::Kind::get() { - return (CppSharp::Parser::AST::Expr::Classification::Kinds)((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->kind; + return (CppSharp::Parser::AST::Expr::Classification::Kinds)NativePtr->kind; } void CppSharp::Parser::AST::Expr::Classification::Kind::set(CppSharp::Parser::AST::Expr::Classification::Kinds value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->kind = (::CppSharp::CppParser::AST::Expr::Classification::Kinds)value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::Expr::Classification::Kinds)value; } CppSharp::Parser::AST::Expr::Classification::ModifiableType CppSharp::Parser::AST::Expr::Classification::Modifiable::get() { - return (CppSharp::Parser::AST::Expr::Classification::ModifiableType)((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->modifiable; + return (CppSharp::Parser::AST::Expr::Classification::ModifiableType)NativePtr->modifiable; } void CppSharp::Parser::AST::Expr::Classification::Modifiable::set(CppSharp::Parser::AST::Expr::Classification::ModifiableType value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->modifiable = (::CppSharp::CppParser::AST::Expr::Classification::ModifiableType)value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->modifiable = (enum ::CppSharp::CppParser::AST::Expr::Classification::ModifiableType)value; } bool CppSharp::Parser::AST::Expr::Classification::IsLValue::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isLValue; + return NativePtr->isLValue; } void CppSharp::Parser::AST::Expr::Classification::IsLValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isLValue = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isLValue = value; } bool CppSharp::Parser::AST::Expr::Classification::IsXValue::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isXValue; + return NativePtr->isXValue; } void CppSharp::Parser::AST::Expr::Classification::IsXValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isXValue = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isXValue = value; } bool CppSharp::Parser::AST::Expr::Classification::IsGLValue::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isGLValue; + return NativePtr->isGLValue; } void CppSharp::Parser::AST::Expr::Classification::IsGLValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isGLValue = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isGLValue = value; } bool CppSharp::Parser::AST::Expr::Classification::IsPRValue::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isPRValue; + return NativePtr->isPRValue; } void CppSharp::Parser::AST::Expr::Classification::IsPRValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isPRValue = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isPRValue = value; } bool CppSharp::Parser::AST::Expr::Classification::IsRValue::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isRValue; + return NativePtr->isRValue; } void CppSharp::Parser::AST::Expr::Classification::IsRValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isRValue = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isRValue = value; } bool CppSharp::Parser::AST::Expr::Classification::IsModifiable::get() { - return ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isModifiable; + return NativePtr->isModifiable; } void CppSharp::Parser::AST::Expr::Classification::IsModifiable::set(bool value) { - ((::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isModifiable = value; + ((struct ::CppSharp::CppParser::AST::Expr::Classification*)NativePtr)->isModifiable = value; } -CppSharp::Parser::AST::Expr::Expr(::CppSharp::CppParser::AST::Expr* native) +CppSharp::Parser::AST::Expr::Expr(struct ::CppSharp::CppParser::AST::Expr* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::Expr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*) native.ToPointer()); } -CppSharp::Parser::AST::Expr::Expr(::CppSharp::CppParser::AST::Expr* native, bool ownNativeInstance) +CppSharp::Parser::AST::Expr::Expr(struct ::CppSharp::CppParser::AST::Expr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::Expr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Expr::~Expr() @@ -173,15 +173,15 @@ CppSharp::Parser::AST::Expr::Expr() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Expr(); + NativePtr = new struct ::CppSharp::CppParser::AST::Expr(); } CppSharp::Parser::AST::Expr::Expr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::Expr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::Expr(__arg0); } CppSharp::Parser::AST::Expr::Expr(CppSharp::Parser::AST::Expr^ _0) @@ -190,180 +190,180 @@ CppSharp::Parser::AST::Expr::Expr(CppSharp::Parser::AST::Expr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Expr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Expr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Expr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Expr(__arg0); } CppSharp::Parser::AST::Expr::operator CppSharp::Parser::AST::Expr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::Expr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Expr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Expr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)____ret, true); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::Expr::Type::get() { - return (&((::CppSharp::CppParser::AST::Expr*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::Expr*)NativePtr)->type); + return (&((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->type); } void CppSharp::Parser::AST::Expr::Type::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->type = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->type = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::Expr::ValueDependent::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->valueDependent; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->valueDependent; } void CppSharp::Parser::AST::Expr::ValueDependent::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->valueDependent = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->valueDependent = value; } bool CppSharp::Parser::AST::Expr::TypeDependent::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->typeDependent; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->typeDependent; } void CppSharp::Parser::AST::Expr::TypeDependent::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->typeDependent = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->typeDependent = value; } bool CppSharp::Parser::AST::Expr::InstantiationDependent::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->instantiationDependent; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->instantiationDependent; } void CppSharp::Parser::AST::Expr::InstantiationDependent::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->instantiationDependent = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->instantiationDependent = value; } bool CppSharp::Parser::AST::Expr::ContainsUnexpandedParameterPack::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->containsUnexpandedParameterPack; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->containsUnexpandedParameterPack; } void CppSharp::Parser::AST::Expr::ContainsUnexpandedParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->containsUnexpandedParameterPack = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->containsUnexpandedParameterPack = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Expr::ExprLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Expr*)NativePtr)->exprLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->exprLoc); } void CppSharp::Parser::AST::Expr::ExprLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->exprLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->exprLoc = _marshal0; } bool CppSharp::Parser::AST::Expr::IsLValue::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isLValue; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isLValue; } void CppSharp::Parser::AST::Expr::IsLValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isLValue = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isLValue = value; } bool CppSharp::Parser::AST::Expr::IsRValue::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isRValue; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isRValue; } void CppSharp::Parser::AST::Expr::IsRValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isRValue = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isRValue = value; } bool CppSharp::Parser::AST::Expr::IsXValue::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isXValue; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isXValue; } void CppSharp::Parser::AST::Expr::IsXValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isXValue = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isXValue = value; } bool CppSharp::Parser::AST::Expr::IsGLValue::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isGLValue; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isGLValue; } void CppSharp::Parser::AST::Expr::IsGLValue::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isGLValue = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isGLValue = value; } bool CppSharp::Parser::AST::Expr::IsOrdinaryOrBitFieldObject::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isOrdinaryOrBitFieldObject; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isOrdinaryOrBitFieldObject; } void CppSharp::Parser::AST::Expr::IsOrdinaryOrBitFieldObject::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->isOrdinaryOrBitFieldObject = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->isOrdinaryOrBitFieldObject = value; } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Expr::SourceBitField::get() { - return (((::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)((::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField); + return (((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*)((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField); } void CppSharp::Parser::AST::Expr::SourceBitField::set(CppSharp::Parser::AST::Field^ value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField = (::CppSharp::CppParser::AST::Field*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->sourceBitField = (struct ::CppSharp::CppParser::AST::Field*)value->NativePtr; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::Expr::ReferencedDeclOfCallee::get() { - return (((::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee); + return (((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee); } void CppSharp::Parser::AST::Expr::ReferencedDeclOfCallee::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->referencedDeclOfCallee = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } bool CppSharp::Parser::AST::Expr::HasPlaceholderType::get() { - return ((::CppSharp::CppParser::AST::Expr*)NativePtr)->hasPlaceholderType; + return ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->hasPlaceholderType; } void CppSharp::Parser::AST::Expr::HasPlaceholderType::set(bool value) { - ((::CppSharp::CppParser::AST::Expr*)NativePtr)->hasPlaceholderType = value; + ((struct ::CppSharp::CppParser::AST::Expr*)NativePtr)->hasPlaceholderType = value; } -CppSharp::Parser::AST::FullExpr::FullExpr(::CppSharp::CppParser::AST::FullExpr* native) +CppSharp::Parser::AST::FullExpr::FullExpr(struct ::CppSharp::CppParser::AST::FullExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::FullExpr^ CppSharp::Parser::AST::FullExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FullExpr((struct ::CppSharp::CppParser::AST::FullExpr*) native.ToPointer()); } -CppSharp::Parser::AST::FullExpr::FullExpr(::CppSharp::CppParser::AST::FullExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::FullExpr::FullExpr(struct ::CppSharp::CppParser::AST::FullExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::FullExpr^ CppSharp::Parser::AST::FullExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FullExpr((struct ::CppSharp::CppParser::AST::FullExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FullExpr::~FullExpr() @@ -374,15 +374,15 @@ CppSharp::Parser::AST::FullExpr::FullExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FullExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::FullExpr(); } CppSharp::Parser::AST::FullExpr::FullExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::FullExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::FullExpr(__arg0); } CppSharp::Parser::AST::FullExpr::FullExpr(CppSharp::Parser::AST::FullExpr^ _0) @@ -391,46 +391,46 @@ CppSharp::Parser::AST::FullExpr::FullExpr(CppSharp::Parser::AST::FullExpr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FullExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FullExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FullExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FullExpr(__arg0); } CppSharp::Parser::AST::FullExpr::operator CppSharp::Parser::AST::FullExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::FullExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::FullExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::FullExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::FullExpr((struct ::CppSharp::CppParser::AST::FullExpr*)____ret, true); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::FullExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::FullExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::FullExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::ConstantExpr::ConstantExpr(::CppSharp::CppParser::AST::ConstantExpr* native) +CppSharp::Parser::AST::ConstantExpr::ConstantExpr(struct ::CppSharp::CppParser::AST::ConstantExpr* native) : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)native) { } CppSharp::Parser::AST::ConstantExpr^ CppSharp::Parser::AST::ConstantExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ConstantExpr((::CppSharp::CppParser::AST::ConstantExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ConstantExpr((struct ::CppSharp::CppParser::AST::ConstantExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ConstantExpr::ConstantExpr(::CppSharp::CppParser::AST::ConstantExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ConstantExpr::ConstantExpr(struct ::CppSharp::CppParser::AST::ConstantExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ConstantExpr^ CppSharp::Parser::AST::ConstantExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ConstantExpr((::CppSharp::CppParser::AST::ConstantExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ConstantExpr((struct ::CppSharp::CppParser::AST::ConstantExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ConstantExpr::~ConstantExpr() @@ -441,7 +441,7 @@ CppSharp::Parser::AST::ConstantExpr::ConstantExpr() : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ConstantExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ConstantExpr(); } CppSharp::Parser::AST::ConstantExpr::ConstantExpr(CppSharp::Parser::AST::ConstantExpr^ _0) @@ -450,28 +450,28 @@ CppSharp::Parser::AST::ConstantExpr::ConstantExpr(CppSharp::Parser::AST::Constan __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ConstantExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ConstantExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ConstantExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ConstantExpr(__arg0); } -CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(::CppSharp::CppParser::AST::OpaqueValueExpr* native) +CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(struct ::CppSharp::CppParser::AST::OpaqueValueExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::OpaqueValueExpr^ CppSharp::Parser::AST::OpaqueValueExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((::CppSharp::CppParser::AST::OpaqueValueExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*) native.ToPointer()); } -CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(::CppSharp::CppParser::AST::OpaqueValueExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(struct ::CppSharp::CppParser::AST::OpaqueValueExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::OpaqueValueExpr^ CppSharp::Parser::AST::OpaqueValueExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((::CppSharp::CppParser::AST::OpaqueValueExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::OpaqueValueExpr::~OpaqueValueExpr() @@ -482,7 +482,7 @@ CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::OpaqueValueExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::OpaqueValueExpr(); } CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(CppSharp::Parser::AST::OpaqueValueExpr^ _0) @@ -491,60 +491,60 @@ CppSharp::Parser::AST::OpaqueValueExpr::OpaqueValueExpr(CppSharp::Parser::AST::O __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::OpaqueValueExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::OpaqueValueExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::OpaqueValueExpr(__arg0); } bool CppSharp::Parser::AST::OpaqueValueExpr::IsUnique::get() { - return ((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->isUnique; + return ((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->isUnique; } void CppSharp::Parser::AST::OpaqueValueExpr::IsUnique::set(bool value) { - ((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->isUnique = value; + ((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->isUnique = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OpaqueValueExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->location); } void CppSharp::Parser::AST::OpaqueValueExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->location = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::OpaqueValueExpr::SourceExpr::get() { - return (((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr); + return (((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr); } void CppSharp::Parser::AST::OpaqueValueExpr::SourceExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)NativePtr)->sourceExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(::CppSharp::CppParser::AST::DeclRefExpr* native) +CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(struct ::CppSharp::CppParser::AST::DeclRefExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::DeclRefExpr^ CppSharp::Parser::AST::DeclRefExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DeclRefExpr((::CppSharp::CppParser::AST::DeclRefExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DeclRefExpr((struct ::CppSharp::CppParser::AST::DeclRefExpr*) native.ToPointer()); } -CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(::CppSharp::CppParser::AST::DeclRefExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(struct ::CppSharp::CppParser::AST::DeclRefExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::DeclRefExpr^ CppSharp::Parser::AST::DeclRefExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DeclRefExpr((::CppSharp::CppParser::AST::DeclRefExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DeclRefExpr((struct ::CppSharp::CppParser::AST::DeclRefExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DeclRefExpr::~DeclRefExpr() @@ -555,7 +555,7 @@ CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DeclRefExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::DeclRefExpr(); } CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(CppSharp::Parser::AST::DeclRefExpr^ _0) @@ -564,156 +564,156 @@ CppSharp::Parser::AST::DeclRefExpr::DeclRefExpr(CppSharp::Parser::AST::DeclRefEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DeclRefExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DeclRefExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DeclRefExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DeclRefExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DeclRefExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->location); } void CppSharp::Parser::AST::DeclRefExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->location = _marshal0; } bool CppSharp::Parser::AST::DeclRefExpr::HadMultipleCandidates::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hadMultipleCandidates; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hadMultipleCandidates; } void CppSharp::Parser::AST::DeclRefExpr::HadMultipleCandidates::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hadMultipleCandidates = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hadMultipleCandidates = value; } bool CppSharp::Parser::AST::DeclRefExpr::HasQualifier::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasQualifier; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasQualifier; } void CppSharp::Parser::AST::DeclRefExpr::HasQualifier::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasQualifier = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasQualifier = value; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::DeclRefExpr::FoundDecl::get() { - return (((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl); + return (((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl); } void CppSharp::Parser::AST::DeclRefExpr::FoundDecl::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->foundDecl = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } bool CppSharp::Parser::AST::DeclRefExpr::HasTemplateKWAndArgsInfo::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKWAndArgsInfo; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKWAndArgsInfo; } void CppSharp::Parser::AST::DeclRefExpr::HasTemplateKWAndArgsInfo::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKWAndArgsInfo = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKWAndArgsInfo = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DeclRefExpr::TemplateKeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->templateKeywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->templateKeywordLoc); } void CppSharp::Parser::AST::DeclRefExpr::TemplateKeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->templateKeywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->templateKeywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DeclRefExpr::LAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->lAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->lAngleLoc); } void CppSharp::Parser::AST::DeclRefExpr::LAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->lAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->lAngleLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DeclRefExpr::RAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->rAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->rAngleLoc); } void CppSharp::Parser::AST::DeclRefExpr::RAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->rAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->rAngleLoc = _marshal0; } bool CppSharp::Parser::AST::DeclRefExpr::HasTemplateKeyword::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKeyword; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKeyword; } void CppSharp::Parser::AST::DeclRefExpr::HasTemplateKeyword::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKeyword = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasTemplateKeyword = value; } bool CppSharp::Parser::AST::DeclRefExpr::HasExplicitTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasExplicitTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasExplicitTemplateArgs; } void CppSharp::Parser::AST::DeclRefExpr::HasExplicitTemplateArgs::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasExplicitTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->hasExplicitTemplateArgs = value; } unsigned int CppSharp::Parser::AST::DeclRefExpr::NumTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->numTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->numTemplateArgs; } void CppSharp::Parser::AST::DeclRefExpr::NumTemplateArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->numTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->numTemplateArgs = value; } bool CppSharp::Parser::AST::DeclRefExpr::RefersToEnclosingVariableOrCapture::get() { - return ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->refersToEnclosingVariableOrCapture; + return ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->refersToEnclosingVariableOrCapture; } void CppSharp::Parser::AST::DeclRefExpr::RefersToEnclosingVariableOrCapture::set(bool value) { - ((::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->refersToEnclosingVariableOrCapture = value; + ((struct ::CppSharp::CppParser::AST::DeclRefExpr*)NativePtr)->refersToEnclosingVariableOrCapture = value; } -CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(::CppSharp::CppParser::AST::IntegerLiteral* native) +CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(struct ::CppSharp::CppParser::AST::IntegerLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::IntegerLiteral^ CppSharp::Parser::AST::IntegerLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::IntegerLiteral((::CppSharp::CppParser::AST::IntegerLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::IntegerLiteral((struct ::CppSharp::CppParser::AST::IntegerLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(::CppSharp::CppParser::AST::IntegerLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(struct ::CppSharp::CppParser::AST::IntegerLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::IntegerLiteral^ CppSharp::Parser::AST::IntegerLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::IntegerLiteral((::CppSharp::CppParser::AST::IntegerLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::IntegerLiteral((struct ::CppSharp::CppParser::AST::IntegerLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::IntegerLiteral::~IntegerLiteral() @@ -724,7 +724,7 @@ CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::IntegerLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::IntegerLiteral(); } CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(CppSharp::Parser::AST::IntegerLiteral^ _0) @@ -733,50 +733,50 @@ CppSharp::Parser::AST::IntegerLiteral::IntegerLiteral(CppSharp::Parser::AST::Int __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::IntegerLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::IntegerLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::IntegerLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::IntegerLiteral(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::IntegerLiteral::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->location); } void CppSharp::Parser::AST::IntegerLiteral::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->location = _marshal0; } unsigned long long CppSharp::Parser::AST::IntegerLiteral::Value::get() { - return ((::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->value; } void CppSharp::Parser::AST::IntegerLiteral::Value::set(unsigned long long value) { - ((::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::IntegerLiteral*)NativePtr)->value = value; } -CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(::CppSharp::CppParser::AST::FixedPointLiteral* native) +CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(struct ::CppSharp::CppParser::AST::FixedPointLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::FixedPointLiteral^ CppSharp::Parser::AST::FixedPointLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FixedPointLiteral((::CppSharp::CppParser::AST::FixedPointLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FixedPointLiteral((struct ::CppSharp::CppParser::AST::FixedPointLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(::CppSharp::CppParser::AST::FixedPointLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(struct ::CppSharp::CppParser::AST::FixedPointLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::FixedPointLiteral^ CppSharp::Parser::AST::FixedPointLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FixedPointLiteral((::CppSharp::CppParser::AST::FixedPointLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FixedPointLiteral((struct ::CppSharp::CppParser::AST::FixedPointLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FixedPointLiteral::~FixedPointLiteral() @@ -787,7 +787,7 @@ CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FixedPointLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::FixedPointLiteral(); } CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(CppSharp::Parser::AST::FixedPointLiteral^ _0) @@ -796,50 +796,50 @@ CppSharp::Parser::AST::FixedPointLiteral::FixedPointLiteral(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FixedPointLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FixedPointLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FixedPointLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FixedPointLiteral(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::FixedPointLiteral::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->location); } void CppSharp::Parser::AST::FixedPointLiteral::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->location = _marshal0; } unsigned long long CppSharp::Parser::AST::FixedPointLiteral::Value::get() { - return ((::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->value; } void CppSharp::Parser::AST::FixedPointLiteral::Value::set(unsigned long long value) { - ((::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::FixedPointLiteral*)NativePtr)->value = value; } -CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(::CppSharp::CppParser::AST::CharacterLiteral* native) +CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(struct ::CppSharp::CppParser::AST::CharacterLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CharacterLiteral^ CppSharp::Parser::AST::CharacterLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CharacterLiteral((::CppSharp::CppParser::AST::CharacterLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CharacterLiteral((struct ::CppSharp::CppParser::AST::CharacterLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(::CppSharp::CppParser::AST::CharacterLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(struct ::CppSharp::CppParser::AST::CharacterLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CharacterLiteral^ CppSharp::Parser::AST::CharacterLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CharacterLiteral((::CppSharp::CppParser::AST::CharacterLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CharacterLiteral((struct ::CppSharp::CppParser::AST::CharacterLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CharacterLiteral::~CharacterLiteral() @@ -850,7 +850,7 @@ CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CharacterLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::CharacterLiteral(); } CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(CppSharp::Parser::AST::CharacterLiteral^ _0) @@ -859,60 +859,60 @@ CppSharp::Parser::AST::CharacterLiteral::CharacterLiteral(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CharacterLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CharacterLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CharacterLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CharacterLiteral(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CharacterLiteral::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->location); } void CppSharp::Parser::AST::CharacterLiteral::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->location = _marshal0; } CppSharp::Parser::AST::CharacterLiteral::CharacterKind CppSharp::Parser::AST::CharacterLiteral::Kind::get() { - return (CppSharp::Parser::AST::CharacterLiteral::CharacterKind)((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->kind; + return (CppSharp::Parser::AST::CharacterLiteral::CharacterKind)((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->kind; } void CppSharp::Parser::AST::CharacterLiteral::Kind::set(CppSharp::Parser::AST::CharacterLiteral::CharacterKind value) { - ((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->kind = (::CppSharp::CppParser::AST::CharacterLiteral::CharacterKind)value; + ((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::CharacterLiteral::CharacterKind)value; } unsigned int CppSharp::Parser::AST::CharacterLiteral::Value::get() { - return ((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->value; } void CppSharp::Parser::AST::CharacterLiteral::Value::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::CharacterLiteral*)NativePtr)->value = value; } -CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(::CppSharp::CppParser::AST::FloatingLiteral* native) +CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(struct ::CppSharp::CppParser::AST::FloatingLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::FloatingLiteral^ CppSharp::Parser::AST::FloatingLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FloatingLiteral((::CppSharp::CppParser::AST::FloatingLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FloatingLiteral((struct ::CppSharp::CppParser::AST::FloatingLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(::CppSharp::CppParser::AST::FloatingLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(struct ::CppSharp::CppParser::AST::FloatingLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::FloatingLiteral^ CppSharp::Parser::AST::FloatingLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FloatingLiteral((::CppSharp::CppParser::AST::FloatingLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FloatingLiteral((struct ::CppSharp::CppParser::AST::FloatingLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FloatingLiteral::~FloatingLiteral() @@ -923,7 +923,7 @@ CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FloatingLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::FloatingLiteral(); } CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(CppSharp::Parser::AST::FloatingLiteral^ _0) @@ -932,60 +932,60 @@ CppSharp::Parser::AST::FloatingLiteral::FloatingLiteral(CppSharp::Parser::AST::F __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FloatingLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FloatingLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FloatingLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FloatingLiteral(__arg0); } bool CppSharp::Parser::AST::FloatingLiteral::Exact::get() { - return ((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->exact; + return ((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->exact; } void CppSharp::Parser::AST::FloatingLiteral::Exact::set(bool value) { - ((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->exact = value; + ((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->exact = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::FloatingLiteral::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->location); } void CppSharp::Parser::AST::FloatingLiteral::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->location = _marshal0; } double CppSharp::Parser::AST::FloatingLiteral::ValueAsApproximateDouble::get() { - return ((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->valueAsApproximateDouble; + return ((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->valueAsApproximateDouble; } void CppSharp::Parser::AST::FloatingLiteral::ValueAsApproximateDouble::set(double value) { - ((::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->valueAsApproximateDouble = value; + ((struct ::CppSharp::CppParser::AST::FloatingLiteral*)NativePtr)->valueAsApproximateDouble = value; } -CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(::CppSharp::CppParser::AST::ImaginaryLiteral* native) +CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(struct ::CppSharp::CppParser::AST::ImaginaryLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ImaginaryLiteral^ CppSharp::Parser::AST::ImaginaryLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ImaginaryLiteral((::CppSharp::CppParser::AST::ImaginaryLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ImaginaryLiteral((struct ::CppSharp::CppParser::AST::ImaginaryLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(::CppSharp::CppParser::AST::ImaginaryLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(struct ::CppSharp::CppParser::AST::ImaginaryLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ImaginaryLiteral^ CppSharp::Parser::AST::ImaginaryLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ImaginaryLiteral((::CppSharp::CppParser::AST::ImaginaryLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ImaginaryLiteral((struct ::CppSharp::CppParser::AST::ImaginaryLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ImaginaryLiteral::~ImaginaryLiteral() @@ -996,7 +996,7 @@ CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ImaginaryLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::ImaginaryLiteral(); } CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(CppSharp::Parser::AST::ImaginaryLiteral^ _0) @@ -1005,38 +1005,38 @@ CppSharp::Parser::AST::ImaginaryLiteral::ImaginaryLiteral(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ImaginaryLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ImaginaryLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ImaginaryLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ImaginaryLiteral(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ImaginaryLiteral::SubExpr::get() { - return (((::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr); } void CppSharp::Parser::AST::ImaginaryLiteral::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ImaginaryLiteral*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::StringLiteral::StringLiteral(::CppSharp::CppParser::AST::StringLiteral* native) +CppSharp::Parser::AST::StringLiteral::StringLiteral(struct ::CppSharp::CppParser::AST::StringLiteral* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::StringLiteral^ CppSharp::Parser::AST::StringLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::StringLiteral((::CppSharp::CppParser::AST::StringLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::StringLiteral((struct ::CppSharp::CppParser::AST::StringLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::StringLiteral::StringLiteral(::CppSharp::CppParser::AST::StringLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::StringLiteral::StringLiteral(struct ::CppSharp::CppParser::AST::StringLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::StringLiteral^ CppSharp::Parser::AST::StringLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::StringLiteral((::CppSharp::CppParser::AST::StringLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::StringLiteral((struct ::CppSharp::CppParser::AST::StringLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::StringLiteral::~StringLiteral() @@ -1045,7 +1045,7 @@ CppSharp::Parser::AST::StringLiteral::~StringLiteral() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::StringLiteral*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::StringLiteral*) __nativePtr; } } @@ -1053,7 +1053,7 @@ CppSharp::Parser::AST::StringLiteral::StringLiteral() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::StringLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::StringLiteral(); } CppSharp::Parser::AST::StringLiteral::StringLiteral(CppSharp::Parser::AST::StringLiteral^ _0) @@ -1062,178 +1062,178 @@ CppSharp::Parser::AST::StringLiteral::StringLiteral(CppSharp::Parser::AST::Strin __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::StringLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::StringLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::StringLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::StringLiteral(__arg0); } -System::String^ CppSharp::Parser::AST::StringLiteral::String::get() +::System::String^ CppSharp::Parser::AST::StringLiteral::String::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->string); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->string); } -void CppSharp::Parser::AST::StringLiteral::String::set(System::String^ value) +void CppSharp::Parser::AST::StringLiteral::String::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->string = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->string = clix::marshalString(value); } -System::String^ CppSharp::Parser::AST::StringLiteral::Bytes::get() +::System::String^ CppSharp::Parser::AST::StringLiteral::Bytes::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->bytes); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->bytes); } -void CppSharp::Parser::AST::StringLiteral::Bytes::set(System::String^ value) +void CppSharp::Parser::AST::StringLiteral::Bytes::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->bytes = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->bytes = clix::marshalString(value); } unsigned int CppSharp::Parser::AST::StringLiteral::ByteLength::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->byteLength; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->byteLength; } void CppSharp::Parser::AST::StringLiteral::ByteLength::set(unsigned int value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->byteLength = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->byteLength = value; } unsigned int CppSharp::Parser::AST::StringLiteral::Length::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->length; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->length; } void CppSharp::Parser::AST::StringLiteral::Length::set(unsigned int value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->length = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->length = value; } unsigned int CppSharp::Parser::AST::StringLiteral::CharByteWidth::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->charByteWidth; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->charByteWidth; } void CppSharp::Parser::AST::StringLiteral::CharByteWidth::set(unsigned int value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->charByteWidth = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->charByteWidth = value; } CppSharp::Parser::AST::StringLiteral::StringKind CppSharp::Parser::AST::StringLiteral::Kind::get() { - return (CppSharp::Parser::AST::StringLiteral::StringKind)((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->kind; + return (CppSharp::Parser::AST::StringLiteral::StringKind)((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->kind; } void CppSharp::Parser::AST::StringLiteral::Kind::set(CppSharp::Parser::AST::StringLiteral::StringKind value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->kind = (::CppSharp::CppParser::AST::StringLiteral::StringKind)value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::StringLiteral::StringKind)value; } bool CppSharp::Parser::AST::StringLiteral::IsAscii::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isAscii; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isAscii; } void CppSharp::Parser::AST::StringLiteral::IsAscii::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isAscii = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isAscii = value; } bool CppSharp::Parser::AST::StringLiteral::IsWide::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isWide; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isWide; } void CppSharp::Parser::AST::StringLiteral::IsWide::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isWide = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isWide = value; } bool CppSharp::Parser::AST::StringLiteral::IsUTF8::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF8; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF8; } void CppSharp::Parser::AST::StringLiteral::IsUTF8::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF8 = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF8 = value; } bool CppSharp::Parser::AST::StringLiteral::IsUTF16::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF16; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF16; } void CppSharp::Parser::AST::StringLiteral::IsUTF16::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF16 = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF16 = value; } bool CppSharp::Parser::AST::StringLiteral::IsUTF32::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF32; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF32; } void CppSharp::Parser::AST::StringLiteral::IsUTF32::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF32 = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isUTF32 = value; } bool CppSharp::Parser::AST::StringLiteral::IsPascal::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isPascal; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isPascal; } void CppSharp::Parser::AST::StringLiteral::IsPascal::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isPascal = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->isPascal = value; } bool CppSharp::Parser::AST::StringLiteral::ContainsNonAscii::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAscii; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAscii; } void CppSharp::Parser::AST::StringLiteral::ContainsNonAscii::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAscii = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAscii = value; } bool CppSharp::Parser::AST::StringLiteral::ContainsNonAsciiOrNull::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAsciiOrNull; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAsciiOrNull; } void CppSharp::Parser::AST::StringLiteral::ContainsNonAsciiOrNull::set(bool value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAsciiOrNull = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->containsNonAsciiOrNull = value; } unsigned int CppSharp::Parser::AST::StringLiteral::NumConcatenated::get() { - return ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->numConcatenated; + return ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->numConcatenated; } void CppSharp::Parser::AST::StringLiteral::NumConcatenated::set(unsigned int value) { - ((::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->numConcatenated = value; + ((struct ::CppSharp::CppParser::AST::StringLiteral*)NativePtr)->numConcatenated = value; } -CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(::CppSharp::CppParser::AST::PredefinedExpr* native) +CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(struct ::CppSharp::CppParser::AST::PredefinedExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::PredefinedExpr^ CppSharp::Parser::AST::PredefinedExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PredefinedExpr((::CppSharp::CppParser::AST::PredefinedExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PredefinedExpr((struct ::CppSharp::CppParser::AST::PredefinedExpr*) native.ToPointer()); } -CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(::CppSharp::CppParser::AST::PredefinedExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(struct ::CppSharp::CppParser::AST::PredefinedExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::PredefinedExpr^ CppSharp::Parser::AST::PredefinedExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PredefinedExpr((::CppSharp::CppParser::AST::PredefinedExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PredefinedExpr((struct ::CppSharp::CppParser::AST::PredefinedExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PredefinedExpr::~PredefinedExpr() @@ -1244,7 +1244,7 @@ CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PredefinedExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::PredefinedExpr(); } CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(CppSharp::Parser::AST::PredefinedExpr^ _0) @@ -1253,50 +1253,50 @@ CppSharp::Parser::AST::PredefinedExpr::PredefinedExpr(CppSharp::Parser::AST::Pre __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PredefinedExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PredefinedExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PredefinedExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PredefinedExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::PredefinedExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->location); } void CppSharp::Parser::AST::PredefinedExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->location = _marshal0; } CppSharp::Parser::AST::PredefinedExpr::IdentKind CppSharp::Parser::AST::PredefinedExpr::identKind::get() { - return (CppSharp::Parser::AST::PredefinedExpr::IdentKind)((::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->identKind; + return (CppSharp::Parser::AST::PredefinedExpr::IdentKind)((struct ::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->identKind; } void CppSharp::Parser::AST::PredefinedExpr::identKind::set(CppSharp::Parser::AST::PredefinedExpr::IdentKind value) { - ((::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->identKind = (::CppSharp::CppParser::AST::PredefinedExpr::IdentKind)value; + ((struct ::CppSharp::CppParser::AST::PredefinedExpr*)NativePtr)->identKind = (enum ::CppSharp::CppParser::AST::PredefinedExpr::IdentKind)value; } -CppSharp::Parser::AST::ParenExpr::ParenExpr(::CppSharp::CppParser::AST::ParenExpr* native) +CppSharp::Parser::AST::ParenExpr::ParenExpr(struct ::CppSharp::CppParser::AST::ParenExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ParenExpr^ CppSharp::Parser::AST::ParenExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ParenExpr((::CppSharp::CppParser::AST::ParenExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ParenExpr((struct ::CppSharp::CppParser::AST::ParenExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ParenExpr::ParenExpr(::CppSharp::CppParser::AST::ParenExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ParenExpr::ParenExpr(struct ::CppSharp::CppParser::AST::ParenExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ParenExpr^ CppSharp::Parser::AST::ParenExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ParenExpr((::CppSharp::CppParser::AST::ParenExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ParenExpr((struct ::CppSharp::CppParser::AST::ParenExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ParenExpr::~ParenExpr() @@ -1307,7 +1307,7 @@ CppSharp::Parser::AST::ParenExpr::ParenExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ParenExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ParenExpr(); } CppSharp::Parser::AST::ParenExpr::ParenExpr(CppSharp::Parser::AST::ParenExpr^ _0) @@ -1316,62 +1316,62 @@ CppSharp::Parser::AST::ParenExpr::ParenExpr(CppSharp::Parser::AST::ParenExpr^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ParenExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ParenExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ParenExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ParenExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ParenExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::ParenExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ParenExpr::LParen::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->lParen); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->lParen); } void CppSharp::Parser::AST::ParenExpr::LParen::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->lParen = _marshal0; + ((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->lParen = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ParenExpr::RParen::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->rParen); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->rParen); } void CppSharp::Parser::AST::ParenExpr::RParen::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->rParen = _marshal0; + ((struct ::CppSharp::CppParser::AST::ParenExpr*)NativePtr)->rParen = _marshal0; } -CppSharp::Parser::AST::UnaryOperator::UnaryOperator(::CppSharp::CppParser::AST::UnaryOperator* native) +CppSharp::Parser::AST::UnaryOperator::UnaryOperator(struct ::CppSharp::CppParser::AST::UnaryOperator* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::UnaryOperator^ CppSharp::Parser::AST::UnaryOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnaryOperator((::CppSharp::CppParser::AST::UnaryOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnaryOperator((struct ::CppSharp::CppParser::AST::UnaryOperator*) native.ToPointer()); } -CppSharp::Parser::AST::UnaryOperator::UnaryOperator(::CppSharp::CppParser::AST::UnaryOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnaryOperator::UnaryOperator(struct ::CppSharp::CppParser::AST::UnaryOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnaryOperator^ CppSharp::Parser::AST::UnaryOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnaryOperator((::CppSharp::CppParser::AST::UnaryOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnaryOperator((struct ::CppSharp::CppParser::AST::UnaryOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnaryOperator::~UnaryOperator() @@ -1382,7 +1382,7 @@ CppSharp::Parser::AST::UnaryOperator::UnaryOperator() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnaryOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryOperator(); } CppSharp::Parser::AST::UnaryOperator::UnaryOperator(CppSharp::Parser::AST::UnaryOperator^ _0) @@ -1391,140 +1391,140 @@ CppSharp::Parser::AST::UnaryOperator::UnaryOperator(CppSharp::Parser::AST::Unary __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnaryOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnaryOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnaryOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryOperator(__arg0); } CppSharp::Parser::AST::UnaryOperatorKind CppSharp::Parser::AST::UnaryOperator::Opcode::get() { - return (CppSharp::Parser::AST::UnaryOperatorKind)((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->opcode; + return (CppSharp::Parser::AST::UnaryOperatorKind)((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->opcode; } void CppSharp::Parser::AST::UnaryOperator::Opcode::set(CppSharp::Parser::AST::UnaryOperatorKind value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->opcode = (::CppSharp::CppParser::AST::UnaryOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->opcode = (enum ::CppSharp::CppParser::AST::UnaryOperatorKind)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::UnaryOperator::SubExpr::get() { - return (((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr); } void CppSharp::Parser::AST::UnaryOperator::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UnaryOperator::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::UnaryOperator::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->operatorLoc = _marshal0; } bool CppSharp::Parser::AST::UnaryOperator::CanOverflow::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->canOverflow; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->canOverflow; } void CppSharp::Parser::AST::UnaryOperator::CanOverflow::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->canOverflow = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->canOverflow = value; } bool CppSharp::Parser::AST::UnaryOperator::IsPrefix::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPrefix; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPrefix; } void CppSharp::Parser::AST::UnaryOperator::IsPrefix::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPrefix = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPrefix = value; } bool CppSharp::Parser::AST::UnaryOperator::IsPostfix::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPostfix; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPostfix; } void CppSharp::Parser::AST::UnaryOperator::IsPostfix::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPostfix = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isPostfix = value; } bool CppSharp::Parser::AST::UnaryOperator::IsIncrementOp::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementOp; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementOp; } void CppSharp::Parser::AST::UnaryOperator::IsIncrementOp::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementOp = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementOp = value; } bool CppSharp::Parser::AST::UnaryOperator::IsDecrementOp::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isDecrementOp; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isDecrementOp; } void CppSharp::Parser::AST::UnaryOperator::IsDecrementOp::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isDecrementOp = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isDecrementOp = value; } bool CppSharp::Parser::AST::UnaryOperator::IsIncrementDecrementOp::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementDecrementOp; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementDecrementOp; } void CppSharp::Parser::AST::UnaryOperator::IsIncrementDecrementOp::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementDecrementOp = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isIncrementDecrementOp = value; } bool CppSharp::Parser::AST::UnaryOperator::IsArithmeticOp::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isArithmeticOp; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isArithmeticOp; } void CppSharp::Parser::AST::UnaryOperator::IsArithmeticOp::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isArithmeticOp = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isArithmeticOp = value; } bool CppSharp::Parser::AST::UnaryOperator::IsFPContractableWithinStatement::get() { - return ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isFPContractableWithinStatement; + return ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isFPContractableWithinStatement; } void CppSharp::Parser::AST::UnaryOperator::IsFPContractableWithinStatement::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isFPContractableWithinStatement = value; + ((struct ::CppSharp::CppParser::AST::UnaryOperator*)NativePtr)->isFPContractableWithinStatement = value; } -CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(::CppSharp::CppParser::AST::OffsetOfExpr* native) +CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(struct ::CppSharp::CppParser::AST::OffsetOfExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::OffsetOfExpr^ CppSharp::Parser::AST::OffsetOfExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::OffsetOfExpr((::CppSharp::CppParser::AST::OffsetOfExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::OffsetOfExpr((struct ::CppSharp::CppParser::AST::OffsetOfExpr*) native.ToPointer()); } -CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(::CppSharp::CppParser::AST::OffsetOfExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(struct ::CppSharp::CppParser::AST::OffsetOfExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::OffsetOfExpr^ CppSharp::Parser::AST::OffsetOfExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::OffsetOfExpr((::CppSharp::CppParser::AST::OffsetOfExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::OffsetOfExpr((struct ::CppSharp::CppParser::AST::OffsetOfExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::OffsetOfExpr::~OffsetOfExpr() @@ -1535,7 +1535,7 @@ CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::OffsetOfExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::OffsetOfExpr(); } CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(CppSharp::Parser::AST::OffsetOfExpr^ _0) @@ -1544,72 +1544,72 @@ CppSharp::Parser::AST::OffsetOfExpr::OffsetOfExpr(CppSharp::Parser::AST::OffsetO __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::OffsetOfExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::OffsetOfExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::OffsetOfExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::OffsetOfExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OffsetOfExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::OffsetOfExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OffsetOfExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::OffsetOfExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->rParenLoc = _marshal0; } unsigned int CppSharp::Parser::AST::OffsetOfExpr::NumComponents::get() { - return ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numComponents; + return ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numComponents; } void CppSharp::Parser::AST::OffsetOfExpr::NumComponents::set(unsigned int value) { - ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numComponents = value; + ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numComponents = value; } unsigned int CppSharp::Parser::AST::OffsetOfExpr::NumExpressions::get() { - return ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numExpressions; + return ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numExpressions; } void CppSharp::Parser::AST::OffsetOfExpr::NumExpressions::set(unsigned int value) { - ((::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numExpressions = value; + ((struct ::CppSharp::CppParser::AST::OffsetOfExpr*)NativePtr)->numExpressions = value; } -CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native) +CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr^ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr^ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::~UnaryExprOrTypeTraitExpr() @@ -1620,7 +1620,7 @@ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr(); } CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr^ _0) @@ -1629,106 +1629,106 @@ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr(__arg0); } CppSharp::Parser::AST::UnaryExprOrTypeTrait CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::Kind::get() { - return (CppSharp::Parser::AST::UnaryExprOrTypeTrait)((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->kind; + return (CppSharp::Parser::AST::UnaryExprOrTypeTrait)((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->kind; } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::Kind::set(CppSharp::Parser::AST::UnaryExprOrTypeTrait value) { - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->kind = (::CppSharp::CppParser::AST::UnaryExprOrTypeTrait)value; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::UnaryExprOrTypeTrait)value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->rParenLoc = _marshal0; } bool CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::IsArgumentType::get() { - return ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->isArgumentType; + return ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->isArgumentType; } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::IsArgumentType::set(bool value) { - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->isArgumentType = value; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->isArgumentType = value; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::ArgumentType::get() { - return (&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType); + return (&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType); } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::ArgumentType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::ArgumentExpr::get() { - return (((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr); + return (((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr); } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::ArgumentExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->argumentExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::TypeOfArgument::get() { - return (&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument); + return (&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument); } void CppSharp::Parser::AST::UnaryExprOrTypeTraitExpr::TypeOfArgument::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr*)NativePtr)->typeOfArgument = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(::CppSharp::CppParser::AST::ArraySubscriptExpr* native) +CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(struct ::CppSharp::CppParser::AST::ArraySubscriptExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ArraySubscriptExpr^ CppSharp::Parser::AST::ArraySubscriptExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ArraySubscriptExpr((::CppSharp::CppParser::AST::ArraySubscriptExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ArraySubscriptExpr((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(::CppSharp::CppParser::AST::ArraySubscriptExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(struct ::CppSharp::CppParser::AST::ArraySubscriptExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ArraySubscriptExpr^ CppSharp::Parser::AST::ArraySubscriptExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ArraySubscriptExpr((::CppSharp::CppParser::AST::ArraySubscriptExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ArraySubscriptExpr((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ArraySubscriptExpr::~ArraySubscriptExpr() @@ -1739,7 +1739,7 @@ CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ArraySubscriptExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ArraySubscriptExpr(); } CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(CppSharp::Parser::AST::ArraySubscriptExpr^ _0) @@ -1748,80 +1748,80 @@ CppSharp::Parser::AST::ArraySubscriptExpr::ArraySubscriptExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ArraySubscriptExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ArraySubscriptExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ArraySubscriptExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArraySubscriptExpr::LHS::get() { - return (((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS); } void CppSharp::Parser::AST::ArraySubscriptExpr::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArraySubscriptExpr::RHS::get() { - return (((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS); } void CppSharp::Parser::AST::ArraySubscriptExpr::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ArraySubscriptExpr::RBracketLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rBracketLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rBracketLoc); } void CppSharp::Parser::AST::ArraySubscriptExpr::RBracketLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rBracketLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->rBracketLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArraySubscriptExpr::Base::get() { - return (((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base); } void CppSharp::Parser::AST::ArraySubscriptExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArraySubscriptExpr::Idx::get() { - return (((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx); + return (((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx); } void CppSharp::Parser::AST::ArraySubscriptExpr::Idx::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArraySubscriptExpr*)NativePtr)->idx = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CallExpr::CallExpr(::CppSharp::CppParser::AST::CallExpr* native) +CppSharp::Parser::AST::CallExpr::CallExpr(struct ::CppSharp::CppParser::AST::CallExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CallExpr^ CppSharp::Parser::AST::CallExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CallExpr((struct ::CppSharp::CppParser::AST::CallExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CallExpr::CallExpr(::CppSharp::CppParser::AST::CallExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CallExpr::CallExpr(struct ::CppSharp::CppParser::AST::CallExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CallExpr^ CppSharp::Parser::AST::CallExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CallExpr((struct ::CppSharp::CppParser::AST::CallExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CallExpr::~CallExpr() @@ -1830,7 +1830,7 @@ CppSharp::Parser::AST::CallExpr::~CallExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CallExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CallExpr*) __nativePtr; } } @@ -1838,35 +1838,35 @@ CppSharp::Parser::AST::CallExpr::CallExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CallExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CallExpr(); } CppSharp::Parser::AST::CallExpr::CallExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::CallExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::CallExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CallExpr::Getarguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getarguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getarguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::CallExpr::Addarguments(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->addarguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->addarguments(__arg0); } void CppSharp::Parser::AST::CallExpr::Cleararguments() { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->cleararguments(); + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->cleararguments(); } CppSharp::Parser::AST::CallExpr::CallExpr(CppSharp::Parser::AST::CallExpr^ _0) @@ -1875,146 +1875,147 @@ CppSharp::Parser::AST::CallExpr::CallExpr(CppSharp::Parser::AST::CallExpr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CallExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CallExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CallExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CallExpr(__arg0); } CppSharp::Parser::AST::CallExpr::operator CppSharp::Parser::AST::CallExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::CallExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::CallExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::CallExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CallExpr((struct ::CppSharp::CppParser::AST::CallExpr*)____ret, true); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CallExpr::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CallExpr::Arguments::get() { - auto _tmp__arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->arguments) + auto _tmp__arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__arguments->Add(_marshalElement); } return _tmp__arguments; } -void CppSharp::Parser::AST::CallExpr::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CallExpr::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->arguments = _tmpvalue; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CallExpr::Callee::get() { - return (((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee); + return (((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee); } void CppSharp::Parser::AST::CallExpr::Callee::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->callee = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CallExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CallExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::CallExpr::CalleeDecl::get() { - return (((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl); + return (((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl); } void CppSharp::Parser::AST::CallExpr::CalleeDecl::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->calleeDecl = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::CallExpr::DirectCallee::get() { - return (((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee); + return (((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee); } void CppSharp::Parser::AST::CallExpr::DirectCallee::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->directCallee = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CallExpr::NumArgs::get() { - return ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numArgs; + return ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numArgs; } void CppSharp::Parser::AST::CallExpr::NumArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numArgs = value; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numArgs = value; } unsigned int CppSharp::Parser::AST::CallExpr::NumCommas::get() { - return ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numCommas; + return ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numCommas; } void CppSharp::Parser::AST::CallExpr::NumCommas::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numCommas = value; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->numCommas = value; } unsigned int CppSharp::Parser::AST::CallExpr::BuiltinCallee::get() { - return ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->builtinCallee; + return ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->builtinCallee; } void CppSharp::Parser::AST::CallExpr::BuiltinCallee::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->builtinCallee = value; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->builtinCallee = value; } bool CppSharp::Parser::AST::CallExpr::IsCallToStdMove::get() { - return ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->isCallToStdMove; + return ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->isCallToStdMove; } void CppSharp::Parser::AST::CallExpr::IsCallToStdMove::set(bool value) { - ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->isCallToStdMove = value; + ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->isCallToStdMove = value; } unsigned int CppSharp::Parser::AST::CallExpr::GetargumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getargumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CallExpr*)NativePtr)->getargumentsCount(); return __ret; } -CppSharp::Parser::AST::MemberExpr::MemberExpr(::CppSharp::CppParser::AST::MemberExpr* native) +CppSharp::Parser::AST::MemberExpr::MemberExpr(struct ::CppSharp::CppParser::AST::MemberExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::MemberExpr^ CppSharp::Parser::AST::MemberExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MemberExpr((::CppSharp::CppParser::AST::MemberExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MemberExpr((struct ::CppSharp::CppParser::AST::MemberExpr*) native.ToPointer()); } -CppSharp::Parser::AST::MemberExpr::MemberExpr(::CppSharp::CppParser::AST::MemberExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::MemberExpr::MemberExpr(struct ::CppSharp::CppParser::AST::MemberExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::MemberExpr^ CppSharp::Parser::AST::MemberExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MemberExpr((::CppSharp::CppParser::AST::MemberExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MemberExpr((struct ::CppSharp::CppParser::AST::MemberExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MemberExpr::~MemberExpr() @@ -2025,7 +2026,7 @@ CppSharp::Parser::AST::MemberExpr::MemberExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MemberExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::MemberExpr(); } CppSharp::Parser::AST::MemberExpr::MemberExpr(CppSharp::Parser::AST::MemberExpr^ _0) @@ -2034,168 +2035,168 @@ CppSharp::Parser::AST::MemberExpr::MemberExpr(CppSharp::Parser::AST::MemberExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MemberExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MemberExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MemberExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MemberExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::MemberExpr::Base::get() { - return (((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base); } void CppSharp::Parser::AST::MemberExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::MemberExpr::Arrow::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->arrow; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->arrow; } void CppSharp::Parser::AST::MemberExpr::Arrow::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->arrow = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->arrow = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MemberExpr::MemberLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->memberLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->memberLoc); } void CppSharp::Parser::AST::MemberExpr::MemberLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->memberLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->memberLoc = _marshal0; } bool CppSharp::Parser::AST::MemberExpr::HadMultipleCandidates::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hadMultipleCandidates; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hadMultipleCandidates; } void CppSharp::Parser::AST::MemberExpr::HadMultipleCandidates::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hadMultipleCandidates = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hadMultipleCandidates = value; } bool CppSharp::Parser::AST::MemberExpr::HasQualifier::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasQualifier; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasQualifier; } void CppSharp::Parser::AST::MemberExpr::HasQualifier::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasQualifier = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasQualifier = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MemberExpr::TemplateKeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->templateKeywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->templateKeywordLoc); } void CppSharp::Parser::AST::MemberExpr::TemplateKeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->templateKeywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->templateKeywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MemberExpr::LAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->lAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->lAngleLoc); } void CppSharp::Parser::AST::MemberExpr::LAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->lAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->lAngleLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MemberExpr::RAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->rAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->rAngleLoc); } void CppSharp::Parser::AST::MemberExpr::RAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->rAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->rAngleLoc = _marshal0; } bool CppSharp::Parser::AST::MemberExpr::HasTemplateKeyword::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasTemplateKeyword; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasTemplateKeyword; } void CppSharp::Parser::AST::MemberExpr::HasTemplateKeyword::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasTemplateKeyword = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasTemplateKeyword = value; } bool CppSharp::Parser::AST::MemberExpr::HasExplicitTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasExplicitTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasExplicitTemplateArgs; } void CppSharp::Parser::AST::MemberExpr::HasExplicitTemplateArgs::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasExplicitTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->hasExplicitTemplateArgs = value; } unsigned int CppSharp::Parser::AST::MemberExpr::NumTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->numTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->numTemplateArgs; } void CppSharp::Parser::AST::MemberExpr::NumTemplateArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->numTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->numTemplateArgs = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MemberExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::MemberExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->operatorLoc = _marshal0; } bool CppSharp::Parser::AST::MemberExpr::IsImplicitAccess::get() { - return ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->isImplicitAccess; + return ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->isImplicitAccess; } void CppSharp::Parser::AST::MemberExpr::IsImplicitAccess::set(bool value) { - ((::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->isImplicitAccess = value; + ((struct ::CppSharp::CppParser::AST::MemberExpr*)NativePtr)->isImplicitAccess = value; } -CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(::CppSharp::CppParser::AST::CompoundLiteralExpr* native) +CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(struct ::CppSharp::CppParser::AST::CompoundLiteralExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CompoundLiteralExpr^ CppSharp::Parser::AST::CompoundLiteralExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CompoundLiteralExpr((::CppSharp::CppParser::AST::CompoundLiteralExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CompoundLiteralExpr((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(::CppSharp::CppParser::AST::CompoundLiteralExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(struct ::CppSharp::CppParser::AST::CompoundLiteralExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CompoundLiteralExpr^ CppSharp::Parser::AST::CompoundLiteralExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CompoundLiteralExpr((::CppSharp::CppParser::AST::CompoundLiteralExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CompoundLiteralExpr((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CompoundLiteralExpr::~CompoundLiteralExpr() @@ -2206,7 +2207,7 @@ CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CompoundLiteralExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundLiteralExpr(); } CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(CppSharp::Parser::AST::CompoundLiteralExpr^ _0) @@ -2215,60 +2216,60 @@ CppSharp::Parser::AST::CompoundLiteralExpr::CompoundLiteralExpr(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CompoundLiteralExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CompoundLiteralExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundLiteralExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CompoundLiteralExpr::Initializer::get() { - return (((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer); + return (((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer); } void CppSharp::Parser::AST::CompoundLiteralExpr::Initializer::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->initializer = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CompoundLiteralExpr::FileScope::get() { - return ((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->fileScope; + return ((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->fileScope; } void CppSharp::Parser::AST::CompoundLiteralExpr::FileScope::set(bool value) { - ((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->fileScope = value; + ((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->fileScope = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CompoundLiteralExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::CompoundLiteralExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CompoundLiteralExpr*)NativePtr)->lParenLoc = _marshal0; } -CppSharp::Parser::AST::CastExpr::CastExpr(::CppSharp::CppParser::AST::CastExpr* native) +CppSharp::Parser::AST::CastExpr::CastExpr(struct ::CppSharp::CppParser::AST::CastExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CastExpr^ CppSharp::Parser::AST::CastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CastExpr((struct ::CppSharp::CppParser::AST::CastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CastExpr::CastExpr(::CppSharp::CppParser::AST::CastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CastExpr::CastExpr(struct ::CppSharp::CppParser::AST::CastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CastExpr^ CppSharp::Parser::AST::CastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CastExpr((struct ::CppSharp::CppParser::AST::CastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CastExpr::~CastExpr() @@ -2279,15 +2280,15 @@ CppSharp::Parser::AST::CastExpr::CastExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CastExpr(); } CppSharp::Parser::AST::CastExpr::CastExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::CastExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::CastExpr(__arg0); } CppSharp::Parser::AST::CastExpr::CastExpr(CppSharp::Parser::AST::CastExpr^ _0) @@ -2296,107 +2297,107 @@ CppSharp::Parser::AST::CastExpr::CastExpr(CppSharp::Parser::AST::CastExpr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CastExpr(__arg0); } CppSharp::Parser::AST::CastExpr::operator CppSharp::Parser::AST::CastExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::CastExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::CastExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::CastExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CastExpr((struct ::CppSharp::CppParser::AST::CastExpr*)____ret, true); } CppSharp::Parser::AST::CastKind CppSharp::Parser::AST::CastExpr::CastKind::get() { - return (CppSharp::Parser::AST::CastKind)((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKind; + return (CppSharp::Parser::AST::CastKind)((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKind; } void CppSharp::Parser::AST::CastExpr::CastKind::set(CppSharp::Parser::AST::CastKind value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKind = (::CppSharp::CppParser::AST::CastKind)value; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKind = (enum ::CppSharp::CppParser::AST::CastKind)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CastExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::CastExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::CastExpr::CastKindName::get() +::System::String^ CppSharp::Parser::AST::CastExpr::CastKindName::get() { - return (((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName == 0 ? nullptr : clix::marshalString(((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName)); + return (((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName == 0 ? nullptr : clix::marshalString(((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName)); } -void CppSharp::Parser::AST::CastExpr::CastKindName::set(System::String^ value) +void CppSharp::Parser::AST::CastExpr::CastKindName::set(::System::String^ value) { auto _value = clix::marshalString(value); - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName = _value.c_str(); + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->castKindName = _value.c_str(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CastExpr::SubExprAsWritten::get() { - return (((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten); + return (((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten); } void CppSharp::Parser::AST::CastExpr::SubExprAsWritten::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->subExprAsWritten = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::CastExpr::ConversionFunction::get() { - return (((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction); + return (((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction); } void CppSharp::Parser::AST::CastExpr::ConversionFunction::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->conversionFunction = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } bool CppSharp::Parser::AST::CastExpr::PathEmpty::get() { - return ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_empty; + return ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_empty; } void CppSharp::Parser::AST::CastExpr::PathEmpty::set(bool value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_empty = value; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_empty = value; } unsigned int CppSharp::Parser::AST::CastExpr::PathSize::get() { - return ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_size; + return ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_size; } void CppSharp::Parser::AST::CastExpr::PathSize::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_size = value; + ((struct ::CppSharp::CppParser::AST::CastExpr*)NativePtr)->path_size = value; } -CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(::CppSharp::CppParser::AST::ImplicitCastExpr* native) +CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(struct ::CppSharp::CppParser::AST::ImplicitCastExpr* native) : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)native) { } CppSharp::Parser::AST::ImplicitCastExpr^ CppSharp::Parser::AST::ImplicitCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ImplicitCastExpr((::CppSharp::CppParser::AST::ImplicitCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ImplicitCastExpr((struct ::CppSharp::CppParser::AST::ImplicitCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(::CppSharp::CppParser::AST::ImplicitCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(struct ::CppSharp::CppParser::AST::ImplicitCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ImplicitCastExpr^ CppSharp::Parser::AST::ImplicitCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ImplicitCastExpr((::CppSharp::CppParser::AST::ImplicitCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ImplicitCastExpr((struct ::CppSharp::CppParser::AST::ImplicitCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ImplicitCastExpr::~ImplicitCastExpr() @@ -2407,7 +2408,7 @@ CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr() : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ImplicitCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ImplicitCastExpr(); } CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(CppSharp::Parser::AST::ImplicitCastExpr^ _0) @@ -2416,38 +2417,38 @@ CppSharp::Parser::AST::ImplicitCastExpr::ImplicitCastExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ImplicitCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ImplicitCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ImplicitCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ImplicitCastExpr(__arg0); } bool CppSharp::Parser::AST::ImplicitCastExpr::IsPartOfExplicitCast::get() { - return ((::CppSharp::CppParser::AST::ImplicitCastExpr*)NativePtr)->isPartOfExplicitCast; + return ((struct ::CppSharp::CppParser::AST::ImplicitCastExpr*)NativePtr)->isPartOfExplicitCast; } void CppSharp::Parser::AST::ImplicitCastExpr::IsPartOfExplicitCast::set(bool value) { - ((::CppSharp::CppParser::AST::ImplicitCastExpr*)NativePtr)->isPartOfExplicitCast = value; + ((struct ::CppSharp::CppParser::AST::ImplicitCastExpr*)NativePtr)->isPartOfExplicitCast = value; } -CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(::CppSharp::CppParser::AST::ExplicitCastExpr* native) +CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(struct ::CppSharp::CppParser::AST::ExplicitCastExpr* native) : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)native) { } CppSharp::Parser::AST::ExplicitCastExpr^ CppSharp::Parser::AST::ExplicitCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(::CppSharp::CppParser::AST::ExplicitCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(struct ::CppSharp::CppParser::AST::ExplicitCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ExplicitCastExpr^ CppSharp::Parser::AST::ExplicitCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ExplicitCastExpr::~ExplicitCastExpr() @@ -2458,15 +2459,15 @@ CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr() : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ExplicitCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ExplicitCastExpr(); } CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::CastExpr((::CppSharp::CppParser::AST::CastExpr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::ExplicitCastExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::ExplicitCastExpr(__arg0); } CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(CppSharp::Parser::AST::ExplicitCastExpr^ _0) @@ -2475,48 +2476,48 @@ CppSharp::Parser::AST::ExplicitCastExpr::ExplicitCastExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ExplicitCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExplicitCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ExplicitCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExplicitCastExpr(__arg0); } CppSharp::Parser::AST::ExplicitCastExpr::operator CppSharp::Parser::AST::ExplicitCastExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::ExplicitCastExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::ExplicitCastExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::ExplicitCastExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::ExplicitCastExpr((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*)____ret, true); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::ExplicitCastExpr::TypeAsWritten::get() { - return (&((::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten); + return (&((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten); } void CppSharp::Parser::AST::ExplicitCastExpr::TypeAsWritten::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ExplicitCastExpr*)NativePtr)->typeAsWritten = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(::CppSharp::CppParser::AST::CStyleCastExpr* native) +CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(struct ::CppSharp::CppParser::AST::CStyleCastExpr* native) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native) { } CppSharp::Parser::AST::CStyleCastExpr^ CppSharp::Parser::AST::CStyleCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CStyleCastExpr((::CppSharp::CppParser::AST::CStyleCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CStyleCastExpr((struct ::CppSharp::CppParser::AST::CStyleCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(::CppSharp::CppParser::AST::CStyleCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(struct ::CppSharp::CppParser::AST::CStyleCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CStyleCastExpr^ CppSharp::Parser::AST::CStyleCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CStyleCastExpr((::CppSharp::CppParser::AST::CStyleCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CStyleCastExpr((struct ::CppSharp::CppParser::AST::CStyleCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CStyleCastExpr::~CStyleCastExpr() @@ -2527,7 +2528,7 @@ CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr() : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CStyleCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CStyleCastExpr(); } CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(CppSharp::Parser::AST::CStyleCastExpr^ _0) @@ -2536,52 +2537,52 @@ CppSharp::Parser::AST::CStyleCastExpr::CStyleCastExpr(CppSharp::Parser::AST::CSt __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CStyleCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CStyleCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CStyleCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CStyleCastExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CStyleCastExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::CStyleCastExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CStyleCastExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CStyleCastExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CStyleCastExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::BinaryOperator::BinaryOperator(::CppSharp::CppParser::AST::BinaryOperator* native) +CppSharp::Parser::AST::BinaryOperator::BinaryOperator(struct ::CppSharp::CppParser::AST::BinaryOperator* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::BinaryOperator^ CppSharp::Parser::AST::BinaryOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BinaryOperator((struct ::CppSharp::CppParser::AST::BinaryOperator*) native.ToPointer()); } -CppSharp::Parser::AST::BinaryOperator::BinaryOperator(::CppSharp::CppParser::AST::BinaryOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::BinaryOperator::BinaryOperator(struct ::CppSharp::CppParser::AST::BinaryOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::BinaryOperator^ CppSharp::Parser::AST::BinaryOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BinaryOperator((struct ::CppSharp::CppParser::AST::BinaryOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BinaryOperator::~BinaryOperator() @@ -2590,7 +2591,7 @@ CppSharp::Parser::AST::BinaryOperator::~BinaryOperator() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::BinaryOperator*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::BinaryOperator*) __nativePtr; } } @@ -2598,15 +2599,15 @@ CppSharp::Parser::AST::BinaryOperator::BinaryOperator() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BinaryOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryOperator(); } CppSharp::Parser::AST::BinaryOperator::BinaryOperator(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::BinaryOperator(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryOperator(__arg0); } CppSharp::Parser::AST::BinaryOperator::BinaryOperator(CppSharp::Parser::AST::BinaryOperator^ _0) @@ -2615,228 +2616,228 @@ CppSharp::Parser::AST::BinaryOperator::BinaryOperator(CppSharp::Parser::AST::Bin __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BinaryOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BinaryOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BinaryOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryOperator(__arg0); } CppSharp::Parser::AST::BinaryOperator::operator CppSharp::Parser::AST::BinaryOperator^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::BinaryOperator) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::BinaryOperator(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::BinaryOperator(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::BinaryOperator((struct ::CppSharp::CppParser::AST::BinaryOperator*)____ret, true); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::BinaryOperator::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::BinaryOperator::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::AST::BinaryOperatorKind CppSharp::Parser::AST::BinaryOperator::Opcode::get() { - return (CppSharp::Parser::AST::BinaryOperatorKind)((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcode; + return (CppSharp::Parser::AST::BinaryOperatorKind)((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcode; } void CppSharp::Parser::AST::BinaryOperator::Opcode::set(CppSharp::Parser::AST::BinaryOperatorKind value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcode = (::CppSharp::CppParser::AST::BinaryOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcode = (enum ::CppSharp::CppParser::AST::BinaryOperatorKind)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::BinaryOperator::LHS::get() { - return (((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS); } void CppSharp::Parser::AST::BinaryOperator::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::BinaryOperator::RHS::get() { - return (((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS); } void CppSharp::Parser::AST::BinaryOperator::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::BinaryOperator::OpcodeStr::get() +::System::String^ CppSharp::Parser::AST::BinaryOperator::OpcodeStr::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcodeStr); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcodeStr); } -void CppSharp::Parser::AST::BinaryOperator::OpcodeStr::set(System::String^ value) +void CppSharp::Parser::AST::BinaryOperator::OpcodeStr::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcodeStr = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->opcodeStr = clix::marshalString(value); } bool CppSharp::Parser::AST::BinaryOperator::IsPtrMemOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isPtrMemOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isPtrMemOp; } void CppSharp::Parser::AST::BinaryOperator::IsPtrMemOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isPtrMemOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isPtrMemOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsMultiplicativeOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isMultiplicativeOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isMultiplicativeOp; } void CppSharp::Parser::AST::BinaryOperator::IsMultiplicativeOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isMultiplicativeOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isMultiplicativeOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsAdditiveOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAdditiveOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAdditiveOp; } void CppSharp::Parser::AST::BinaryOperator::IsAdditiveOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAdditiveOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAdditiveOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsShiftOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftOp; } void CppSharp::Parser::AST::BinaryOperator::IsShiftOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsBitwiseOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isBitwiseOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isBitwiseOp; } void CppSharp::Parser::AST::BinaryOperator::IsBitwiseOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isBitwiseOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isBitwiseOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsRelationalOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isRelationalOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isRelationalOp; } void CppSharp::Parser::AST::BinaryOperator::IsRelationalOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isRelationalOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isRelationalOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsEqualityOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isEqualityOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isEqualityOp; } void CppSharp::Parser::AST::BinaryOperator::IsEqualityOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isEqualityOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isEqualityOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsComparisonOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isComparisonOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isComparisonOp; } void CppSharp::Parser::AST::BinaryOperator::IsComparisonOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isComparisonOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isComparisonOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsLogicalOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isLogicalOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isLogicalOp; } void CppSharp::Parser::AST::BinaryOperator::IsLogicalOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isLogicalOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isLogicalOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsAssignmentOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAssignmentOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAssignmentOp; } void CppSharp::Parser::AST::BinaryOperator::IsAssignmentOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAssignmentOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isAssignmentOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsCompoundAssignmentOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isCompoundAssignmentOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isCompoundAssignmentOp; } void CppSharp::Parser::AST::BinaryOperator::IsCompoundAssignmentOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isCompoundAssignmentOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isCompoundAssignmentOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsShiftAssignOp::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftAssignOp; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftAssignOp; } void CppSharp::Parser::AST::BinaryOperator::IsShiftAssignOp::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftAssignOp = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isShiftAssignOp = value; } bool CppSharp::Parser::AST::BinaryOperator::IsFPContractableWithinStatement::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFPContractableWithinStatement; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFPContractableWithinStatement; } void CppSharp::Parser::AST::BinaryOperator::IsFPContractableWithinStatement::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFPContractableWithinStatement = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFPContractableWithinStatement = value; } bool CppSharp::Parser::AST::BinaryOperator::IsFEnvAccessOn::get() { - return ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFEnvAccessOn; + return ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFEnvAccessOn; } void CppSharp::Parser::AST::BinaryOperator::IsFEnvAccessOn::set(bool value) { - ((::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFEnvAccessOn = value; + ((struct ::CppSharp::CppParser::AST::BinaryOperator*)NativePtr)->isFEnvAccessOn = value; } -CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(::CppSharp::CppParser::AST::CompoundAssignOperator* native) +CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(struct ::CppSharp::CppParser::AST::CompoundAssignOperator* native) : CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*)native) { } CppSharp::Parser::AST::CompoundAssignOperator^ CppSharp::Parser::AST::CompoundAssignOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CompoundAssignOperator((::CppSharp::CppParser::AST::CompoundAssignOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CompoundAssignOperator((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*) native.ToPointer()); } -CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(::CppSharp::CppParser::AST::CompoundAssignOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(struct ::CppSharp::CppParser::AST::CompoundAssignOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*)native, ownNativeInstance) { } CppSharp::Parser::AST::CompoundAssignOperator^ CppSharp::Parser::AST::CompoundAssignOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CompoundAssignOperator((::CppSharp::CppParser::AST::CompoundAssignOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CompoundAssignOperator((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CompoundAssignOperator::~CompoundAssignOperator() @@ -2845,7 +2846,7 @@ CppSharp::Parser::AST::CompoundAssignOperator::~CompoundAssignOperator() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CompoundAssignOperator*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CompoundAssignOperator*) __nativePtr; } } @@ -2853,7 +2854,7 @@ CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator() : CppSharp::Parser::AST::BinaryOperator((::CppSharp::CppParser::AST::BinaryOperator*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CompoundAssignOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundAssignOperator(); } CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(CppSharp::Parser::AST::CompoundAssignOperator^ _0) @@ -2862,52 +2863,52 @@ CppSharp::Parser::AST::CompoundAssignOperator::CompoundAssignOperator(CppSharp:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CompoundAssignOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CompoundAssignOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundAssignOperator(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CompoundAssignOperator::ComputationLHSType::get() { - return (&((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType); + return (&((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType); } void CppSharp::Parser::AST::CompoundAssignOperator::ComputationLHSType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationLHSType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CompoundAssignOperator::ComputationResultType::get() { - return (&((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType); + return (&((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType); } void CppSharp::Parser::AST::CompoundAssignOperator::ComputationResultType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundAssignOperator*)NativePtr)->computationResultType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(::CppSharp::CppParser::AST::AbstractConditionalOperator* native) +CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(struct ::CppSharp::CppParser::AST::AbstractConditionalOperator* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::AbstractConditionalOperator^ CppSharp::Parser::AST::AbstractConditionalOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*) native.ToPointer()); } -CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(::CppSharp::CppParser::AST::AbstractConditionalOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(struct ::CppSharp::CppParser::AST::AbstractConditionalOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::AbstractConditionalOperator^ CppSharp::Parser::AST::AbstractConditionalOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AbstractConditionalOperator::~AbstractConditionalOperator() @@ -2918,15 +2919,15 @@ CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator( : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AbstractConditionalOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::AbstractConditionalOperator(); } CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::AbstractConditionalOperator(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::AbstractConditionalOperator(__arg0); } CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator(CppSharp::Parser::AST::AbstractConditionalOperator^ _0) @@ -2935,90 +2936,90 @@ CppSharp::Parser::AST::AbstractConditionalOperator::AbstractConditionalOperator( __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AbstractConditionalOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AbstractConditionalOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AbstractConditionalOperator(__arg0); } CppSharp::Parser::AST::AbstractConditionalOperator::operator CppSharp::Parser::AST::AbstractConditionalOperator^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::AbstractConditionalOperator) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::AbstractConditionalOperator(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::AbstractConditionalOperator(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AbstractConditionalOperator((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)____ret, true); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AbstractConditionalOperator::Cond::get() { - return (((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond); } void CppSharp::Parser::AST::AbstractConditionalOperator::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AbstractConditionalOperator::TrueExpr::get() { - return (((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr); + return (((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr); } void CppSharp::Parser::AST::AbstractConditionalOperator::TrueExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->trueExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AbstractConditionalOperator::FalseExpr::get() { - return (((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr); + return (((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr); } void CppSharp::Parser::AST::AbstractConditionalOperator::FalseExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->falseExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AbstractConditionalOperator::QuestionLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->questionLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->questionLoc); } void CppSharp::Parser::AST::AbstractConditionalOperator::QuestionLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->questionLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->questionLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AbstractConditionalOperator::ColonLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->colonLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->colonLoc); } void CppSharp::Parser::AST::AbstractConditionalOperator::ColonLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->colonLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AbstractConditionalOperator*)NativePtr)->colonLoc = _marshal0; } -CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(::CppSharp::CppParser::AST::ConditionalOperator* native) +CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(struct ::CppSharp::CppParser::AST::ConditionalOperator* native) : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)native) { } CppSharp::Parser::AST::ConditionalOperator^ CppSharp::Parser::AST::ConditionalOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ConditionalOperator((::CppSharp::CppParser::AST::ConditionalOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ConditionalOperator((struct ::CppSharp::CppParser::AST::ConditionalOperator*) native.ToPointer()); } -CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(::CppSharp::CppParser::AST::ConditionalOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(struct ::CppSharp::CppParser::AST::ConditionalOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)native, ownNativeInstance) { } CppSharp::Parser::AST::ConditionalOperator^ CppSharp::Parser::AST::ConditionalOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ConditionalOperator((::CppSharp::CppParser::AST::ConditionalOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ConditionalOperator((struct ::CppSharp::CppParser::AST::ConditionalOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ConditionalOperator::~ConditionalOperator() @@ -3029,7 +3030,7 @@ CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator() : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ConditionalOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::ConditionalOperator(); } CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(CppSharp::Parser::AST::ConditionalOperator^ _0) @@ -3038,48 +3039,48 @@ CppSharp::Parser::AST::ConditionalOperator::ConditionalOperator(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ConditionalOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ConditionalOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ConditionalOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ConditionalOperator(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ConditionalOperator::LHS::get() { - return (((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS); } void CppSharp::Parser::AST::ConditionalOperator::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ConditionalOperator::RHS::get() { - return (((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS); } void CppSharp::Parser::AST::ConditionalOperator::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ConditionalOperator*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(::CppSharp::CppParser::AST::BinaryConditionalOperator* native) +CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(struct ::CppSharp::CppParser::AST::BinaryConditionalOperator* native) : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)native) { } CppSharp::Parser::AST::BinaryConditionalOperator^ CppSharp::Parser::AST::BinaryConditionalOperator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BinaryConditionalOperator((::CppSharp::CppParser::AST::BinaryConditionalOperator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BinaryConditionalOperator((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*) native.ToPointer()); } -CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(::CppSharp::CppParser::AST::BinaryConditionalOperator* native, bool ownNativeInstance) +CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(struct ::CppSharp::CppParser::AST::BinaryConditionalOperator* native, bool ownNativeInstance) : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)native, ownNativeInstance) { } CppSharp::Parser::AST::BinaryConditionalOperator^ CppSharp::Parser::AST::BinaryConditionalOperator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BinaryConditionalOperator((::CppSharp::CppParser::AST::BinaryConditionalOperator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BinaryConditionalOperator((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BinaryConditionalOperator::~BinaryConditionalOperator() @@ -3090,7 +3091,7 @@ CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator() : CppSharp::Parser::AST::AbstractConditionalOperator((::CppSharp::CppParser::AST::AbstractConditionalOperator*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BinaryConditionalOperator(); + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryConditionalOperator(); } CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(CppSharp::Parser::AST::BinaryConditionalOperator^ _0) @@ -3099,48 +3100,48 @@ CppSharp::Parser::AST::BinaryConditionalOperator::BinaryConditionalOperator(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BinaryConditionalOperator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BinaryConditionalOperator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BinaryConditionalOperator(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::BinaryConditionalOperator::Common::get() { - return (((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common); + return (((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common); } void CppSharp::Parser::AST::BinaryConditionalOperator::Common::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->common = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::OpaqueValueExpr^ CppSharp::Parser::AST::BinaryConditionalOperator::OpaqueValue::get() { - return (((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((::CppSharp::CppParser::AST::OpaqueValueExpr*)((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue); + return (((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue); } void CppSharp::Parser::AST::BinaryConditionalOperator::OpaqueValue::set(CppSharp::Parser::AST::OpaqueValueExpr^ value) { - ((::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue = (::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BinaryConditionalOperator*)NativePtr)->opaqueValue = (struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; } -CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(::CppSharp::CppParser::AST::AddrLabelExpr* native) +CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(struct ::CppSharp::CppParser::AST::AddrLabelExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::AddrLabelExpr^ CppSharp::Parser::AST::AddrLabelExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AddrLabelExpr((::CppSharp::CppParser::AST::AddrLabelExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AddrLabelExpr((struct ::CppSharp::CppParser::AST::AddrLabelExpr*) native.ToPointer()); } -CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(::CppSharp::CppParser::AST::AddrLabelExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(struct ::CppSharp::CppParser::AST::AddrLabelExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::AddrLabelExpr^ CppSharp::Parser::AST::AddrLabelExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AddrLabelExpr((::CppSharp::CppParser::AST::AddrLabelExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AddrLabelExpr((struct ::CppSharp::CppParser::AST::AddrLabelExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AddrLabelExpr::~AddrLabelExpr() @@ -3151,7 +3152,7 @@ CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AddrLabelExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::AddrLabelExpr(); } CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(CppSharp::Parser::AST::AddrLabelExpr^ _0) @@ -3160,52 +3161,52 @@ CppSharp::Parser::AST::AddrLabelExpr::AddrLabelExpr(CppSharp::Parser::AST::AddrL __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AddrLabelExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AddrLabelExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AddrLabelExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AddrLabelExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AddrLabelExpr::AmpAmpLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->ampAmpLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->ampAmpLoc); } void CppSharp::Parser::AST::AddrLabelExpr::AmpAmpLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->ampAmpLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->ampAmpLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AddrLabelExpr::LabelLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->labelLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->labelLoc); } void CppSharp::Parser::AST::AddrLabelExpr::LabelLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->labelLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AddrLabelExpr*)NativePtr)->labelLoc = _marshal0; } -CppSharp::Parser::AST::StmtExpr::StmtExpr(::CppSharp::CppParser::AST::StmtExpr* native) +CppSharp::Parser::AST::StmtExpr::StmtExpr(struct ::CppSharp::CppParser::AST::StmtExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::StmtExpr^ CppSharp::Parser::AST::StmtExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::StmtExpr((::CppSharp::CppParser::AST::StmtExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::StmtExpr((struct ::CppSharp::CppParser::AST::StmtExpr*) native.ToPointer()); } -CppSharp::Parser::AST::StmtExpr::StmtExpr(::CppSharp::CppParser::AST::StmtExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::StmtExpr::StmtExpr(struct ::CppSharp::CppParser::AST::StmtExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::StmtExpr^ CppSharp::Parser::AST::StmtExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::StmtExpr((::CppSharp::CppParser::AST::StmtExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::StmtExpr((struct ::CppSharp::CppParser::AST::StmtExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::StmtExpr::~StmtExpr() @@ -3216,7 +3217,7 @@ CppSharp::Parser::AST::StmtExpr::StmtExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::StmtExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::StmtExpr(); } CppSharp::Parser::AST::StmtExpr::StmtExpr(CppSharp::Parser::AST::StmtExpr^ _0) @@ -3225,62 +3226,62 @@ CppSharp::Parser::AST::StmtExpr::StmtExpr(CppSharp::Parser::AST::StmtExpr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::StmtExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::StmtExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::StmtExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::StmtExpr(__arg0); } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::StmtExpr::SubStmt::get() { - return (((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt); + return (((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt); } void CppSharp::Parser::AST::StmtExpr::SubStmt::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->subStmt = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::StmtExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::StmtExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::StmtExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::StmtExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::StmtExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(::CppSharp::CppParser::AST::ShuffleVectorExpr* native) +CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(struct ::CppSharp::CppParser::AST::ShuffleVectorExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ShuffleVectorExpr^ CppSharp::Parser::AST::ShuffleVectorExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ShuffleVectorExpr((::CppSharp::CppParser::AST::ShuffleVectorExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ShuffleVectorExpr((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(::CppSharp::CppParser::AST::ShuffleVectorExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(struct ::CppSharp::CppParser::AST::ShuffleVectorExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ShuffleVectorExpr^ CppSharp::Parser::AST::ShuffleVectorExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ShuffleVectorExpr((::CppSharp::CppParser::AST::ShuffleVectorExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ShuffleVectorExpr((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ShuffleVectorExpr::~ShuffleVectorExpr() @@ -3291,7 +3292,7 @@ CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ShuffleVectorExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ShuffleVectorExpr(); } CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(CppSharp::Parser::AST::ShuffleVectorExpr^ _0) @@ -3300,62 +3301,62 @@ CppSharp::Parser::AST::ShuffleVectorExpr::ShuffleVectorExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ShuffleVectorExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ShuffleVectorExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ShuffleVectorExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ShuffleVectorExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::ShuffleVectorExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ShuffleVectorExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::ShuffleVectorExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->rParenLoc = _marshal0; } unsigned int CppSharp::Parser::AST::ShuffleVectorExpr::NumSubExprs::get() { - return ((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->numSubExprs; + return ((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->numSubExprs; } void CppSharp::Parser::AST::ShuffleVectorExpr::NumSubExprs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->numSubExprs = value; + ((struct ::CppSharp::CppParser::AST::ShuffleVectorExpr*)NativePtr)->numSubExprs = value; } -CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(::CppSharp::CppParser::AST::ConvertVectorExpr* native) +CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(struct ::CppSharp::CppParser::AST::ConvertVectorExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ConvertVectorExpr^ CppSharp::Parser::AST::ConvertVectorExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ConvertVectorExpr((::CppSharp::CppParser::AST::ConvertVectorExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ConvertVectorExpr((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(::CppSharp::CppParser::AST::ConvertVectorExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(struct ::CppSharp::CppParser::AST::ConvertVectorExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ConvertVectorExpr^ CppSharp::Parser::AST::ConvertVectorExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ConvertVectorExpr((::CppSharp::CppParser::AST::ConvertVectorExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ConvertVectorExpr((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ConvertVectorExpr::~ConvertVectorExpr() @@ -3366,7 +3367,7 @@ CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ConvertVectorExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ConvertVectorExpr(); } CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(CppSharp::Parser::AST::ConvertVectorExpr^ _0) @@ -3375,62 +3376,62 @@ CppSharp::Parser::AST::ConvertVectorExpr::ConvertVectorExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ConvertVectorExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ConvertVectorExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ConvertVectorExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ConvertVectorExpr::SrcExpr::get() { - return (((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr); + return (((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr); } void CppSharp::Parser::AST::ConvertVectorExpr::SrcExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->srcExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ConvertVectorExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::ConvertVectorExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ConvertVectorExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::ConvertVectorExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ConvertVectorExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::ChooseExpr::ChooseExpr(::CppSharp::CppParser::AST::ChooseExpr* native) +CppSharp::Parser::AST::ChooseExpr::ChooseExpr(struct ::CppSharp::CppParser::AST::ChooseExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ChooseExpr^ CppSharp::Parser::AST::ChooseExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ChooseExpr((::CppSharp::CppParser::AST::ChooseExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ChooseExpr((struct ::CppSharp::CppParser::AST::ChooseExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ChooseExpr::ChooseExpr(::CppSharp::CppParser::AST::ChooseExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ChooseExpr::ChooseExpr(struct ::CppSharp::CppParser::AST::ChooseExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ChooseExpr^ CppSharp::Parser::AST::ChooseExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ChooseExpr((::CppSharp::CppParser::AST::ChooseExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ChooseExpr((struct ::CppSharp::CppParser::AST::ChooseExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ChooseExpr::~ChooseExpr() @@ -3441,7 +3442,7 @@ CppSharp::Parser::AST::ChooseExpr::ChooseExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ChooseExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ChooseExpr(); } CppSharp::Parser::AST::ChooseExpr::ChooseExpr(CppSharp::Parser::AST::ChooseExpr^ _0) @@ -3450,112 +3451,112 @@ CppSharp::Parser::AST::ChooseExpr::ChooseExpr(CppSharp::Parser::AST::ChooseExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ChooseExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ChooseExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ChooseExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ChooseExpr(__arg0); } bool CppSharp::Parser::AST::ChooseExpr::IsConditionTrue::get() { - return ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionTrue; + return ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionTrue; } void CppSharp::Parser::AST::ChooseExpr::IsConditionTrue::set(bool value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionTrue = value; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionTrue = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ChooseExpr::Cond::get() { - return (((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond); } void CppSharp::Parser::AST::ChooseExpr::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ChooseExpr::LHS::get() { - return (((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS); } void CppSharp::Parser::AST::ChooseExpr::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ChooseExpr::RHS::get() { - return (((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS); } void CppSharp::Parser::AST::ChooseExpr::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ChooseExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::ChooseExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ChooseExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::ChooseExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->rParenLoc = _marshal0; } bool CppSharp::Parser::AST::ChooseExpr::IsConditionDependent::get() { - return ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionDependent; + return ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionDependent; } void CppSharp::Parser::AST::ChooseExpr::IsConditionDependent::set(bool value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionDependent = value; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->isConditionDependent = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ChooseExpr::ChosenSubExpr::get() { - return (((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr); + return (((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr); } void CppSharp::Parser::AST::ChooseExpr::ChosenSubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ChooseExpr*)NativePtr)->chosenSubExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(::CppSharp::CppParser::AST::GNUNullExpr* native) +CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(struct ::CppSharp::CppParser::AST::GNUNullExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::GNUNullExpr^ CppSharp::Parser::AST::GNUNullExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::GNUNullExpr((::CppSharp::CppParser::AST::GNUNullExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::GNUNullExpr((struct ::CppSharp::CppParser::AST::GNUNullExpr*) native.ToPointer()); } -CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(::CppSharp::CppParser::AST::GNUNullExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(struct ::CppSharp::CppParser::AST::GNUNullExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::GNUNullExpr^ CppSharp::Parser::AST::GNUNullExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::GNUNullExpr((::CppSharp::CppParser::AST::GNUNullExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::GNUNullExpr((struct ::CppSharp::CppParser::AST::GNUNullExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::GNUNullExpr::~GNUNullExpr() @@ -3566,7 +3567,7 @@ CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::GNUNullExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::GNUNullExpr(); } CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(CppSharp::Parser::AST::GNUNullExpr^ _0) @@ -3575,40 +3576,40 @@ CppSharp::Parser::AST::GNUNullExpr::GNUNullExpr(CppSharp::Parser::AST::GNUNullEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::GNUNullExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::GNUNullExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::GNUNullExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::GNUNullExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GNUNullExpr::TokenLocation::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GNUNullExpr*)NativePtr)->tokenLocation); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GNUNullExpr*)NativePtr)->tokenLocation); } void CppSharp::Parser::AST::GNUNullExpr::TokenLocation::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GNUNullExpr*)NativePtr)->tokenLocation = _marshal0; + ((struct ::CppSharp::CppParser::AST::GNUNullExpr*)NativePtr)->tokenLocation = _marshal0; } -CppSharp::Parser::AST::VAArgExpr::VAArgExpr(::CppSharp::CppParser::AST::VAArgExpr* native) +CppSharp::Parser::AST::VAArgExpr::VAArgExpr(struct ::CppSharp::CppParser::AST::VAArgExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::VAArgExpr^ CppSharp::Parser::AST::VAArgExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VAArgExpr((::CppSharp::CppParser::AST::VAArgExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VAArgExpr((struct ::CppSharp::CppParser::AST::VAArgExpr*) native.ToPointer()); } -CppSharp::Parser::AST::VAArgExpr::VAArgExpr(::CppSharp::CppParser::AST::VAArgExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::VAArgExpr::VAArgExpr(struct ::CppSharp::CppParser::AST::VAArgExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::VAArgExpr^ CppSharp::Parser::AST::VAArgExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VAArgExpr((::CppSharp::CppParser::AST::VAArgExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VAArgExpr((struct ::CppSharp::CppParser::AST::VAArgExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VAArgExpr::~VAArgExpr() @@ -3619,7 +3620,7 @@ CppSharp::Parser::AST::VAArgExpr::VAArgExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VAArgExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::VAArgExpr(); } CppSharp::Parser::AST::VAArgExpr::VAArgExpr(CppSharp::Parser::AST::VAArgExpr^ _0) @@ -3628,72 +3629,72 @@ CppSharp::Parser::AST::VAArgExpr::VAArgExpr(CppSharp::Parser::AST::VAArgExpr^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VAArgExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VAArgExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VAArgExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VAArgExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::VAArgExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::VAArgExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::VAArgExpr::IsMicrosoftABI::get() { - return ((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->isMicrosoftABI; + return ((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->isMicrosoftABI; } void CppSharp::Parser::AST::VAArgExpr::IsMicrosoftABI::set(bool value) { - ((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->isMicrosoftABI = value; + ((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->isMicrosoftABI = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::VAArgExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::VAArgExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::VAArgExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::VAArgExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::VAArgExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::InitListExpr::InitListExpr(::CppSharp::CppParser::AST::InitListExpr* native) +CppSharp::Parser::AST::InitListExpr::InitListExpr(struct ::CppSharp::CppParser::AST::InitListExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::InitListExpr^ CppSharp::Parser::AST::InitListExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::InitListExpr((::CppSharp::CppParser::AST::InitListExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::InitListExpr((struct ::CppSharp::CppParser::AST::InitListExpr*) native.ToPointer()); } -CppSharp::Parser::AST::InitListExpr::InitListExpr(::CppSharp::CppParser::AST::InitListExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::InitListExpr::InitListExpr(struct ::CppSharp::CppParser::AST::InitListExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::InitListExpr^ CppSharp::Parser::AST::InitListExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::InitListExpr((::CppSharp::CppParser::AST::InitListExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::InitListExpr((struct ::CppSharp::CppParser::AST::InitListExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::InitListExpr::~InitListExpr() @@ -3704,7 +3705,7 @@ CppSharp::Parser::AST::InitListExpr::InitListExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::InitListExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::InitListExpr(); } CppSharp::Parser::AST::InitListExpr::InitListExpr(CppSharp::Parser::AST::InitListExpr^ _0) @@ -3713,135 +3714,135 @@ CppSharp::Parser::AST::InitListExpr::InitListExpr(CppSharp::Parser::AST::InitLis __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InitListExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::InitListExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InitListExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::InitListExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::InitListExpr::ArrayFiller::get() { - return (((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller); + return (((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller); } void CppSharp::Parser::AST::InitListExpr::ArrayFiller::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->arrayFiller = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::InitListExpr::LBraceLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->lBraceLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->lBraceLoc); } void CppSharp::Parser::AST::InitListExpr::LBraceLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->lBraceLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->lBraceLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::InitListExpr::RBraceLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->rBraceLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->rBraceLoc); } void CppSharp::Parser::AST::InitListExpr::RBraceLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->rBraceLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->rBraceLoc = _marshal0; } CppSharp::Parser::AST::InitListExpr^ CppSharp::Parser::AST::InitListExpr::SyntacticForm::get() { - return (((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((::CppSharp::CppParser::AST::InitListExpr*)((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm); + return (((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((struct ::CppSharp::CppParser::AST::InitListExpr*)((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm); } void CppSharp::Parser::AST::InitListExpr::SyntacticForm::set(CppSharp::Parser::AST::InitListExpr^ value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm = (::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->syntacticForm = (struct ::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::InitListExpr::NumInits::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->numInits; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->numInits; } void CppSharp::Parser::AST::InitListExpr::NumInits::set(unsigned int value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->numInits = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->numInits = value; } bool CppSharp::Parser::AST::InitListExpr::HasArrayFiller::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->hasArrayFiller; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->hasArrayFiller; } void CppSharp::Parser::AST::InitListExpr::HasArrayFiller::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->hasArrayFiller = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->hasArrayFiller = value; } bool CppSharp::Parser::AST::InitListExpr::IsExplicit::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isExplicit; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isExplicit; } void CppSharp::Parser::AST::InitListExpr::IsExplicit::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isExplicit = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isExplicit = value; } bool CppSharp::Parser::AST::InitListExpr::IsStringLiteralInit::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isStringLiteralInit; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isStringLiteralInit; } void CppSharp::Parser::AST::InitListExpr::IsStringLiteralInit::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isStringLiteralInit = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isStringLiteralInit = value; } bool CppSharp::Parser::AST::InitListExpr::IsTransparent::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isTransparent; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isTransparent; } void CppSharp::Parser::AST::InitListExpr::IsTransparent::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isTransparent = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isTransparent = value; } bool CppSharp::Parser::AST::InitListExpr::IsSemanticForm::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSemanticForm; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSemanticForm; } void CppSharp::Parser::AST::InitListExpr::IsSemanticForm::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSemanticForm = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSemanticForm = value; } CppSharp::Parser::AST::InitListExpr^ CppSharp::Parser::AST::InitListExpr::SemanticForm::get() { - return (((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((::CppSharp::CppParser::AST::InitListExpr*)((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm); + return (((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((struct ::CppSharp::CppParser::AST::InitListExpr*)((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm); } void CppSharp::Parser::AST::InitListExpr::SemanticForm::set(CppSharp::Parser::AST::InitListExpr^ value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm = (::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->semanticForm = (struct ::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; } bool CppSharp::Parser::AST::InitListExpr::IsSyntacticForm::get() { - return ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSyntacticForm; + return ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSyntacticForm; } void CppSharp::Parser::AST::InitListExpr::IsSyntacticForm::set(bool value) { - ((::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSyntacticForm = value; + ((struct ::CppSharp::CppParser::AST::InitListExpr*)NativePtr)->isSyntacticForm = value; } -CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native) +CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -3849,10 +3850,10 @@ CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(::CppSharp::Cp CppSharp::Parser::AST::DesignatedInitExpr::Designator^ CppSharp::Parser::AST::DesignatedInitExpr::Designator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::Designator((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::Designator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*) native.ToPointer()); } -CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native, bool ownNativeInstance) +CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -3860,7 +3861,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(::CppSharp::Cp CppSharp::Parser::AST::DesignatedInitExpr::Designator^ CppSharp::Parser::AST::DesignatedInitExpr::Designator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::Designator((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::Designator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DesignatedInitExpr::Designator::~Designator() @@ -3871,7 +3872,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::Designator::~Designator() CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator(); + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator(); } CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(CppSharp::Parser::AST::DesignatedInitExpr::Designator^ _0) @@ -3879,143 +3880,143 @@ CppSharp::Parser::AST::DesignatedInitExpr::Designator::Designator(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator(__arg0); } -System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::Designator::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::Designator::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::DesignatedInitExpr::Designator::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::DesignatedInitExpr::Designator::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)object.ToPointer(); } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::DesignatedInitExpr::Designator::Field::get() { - return (((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->field == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->field); + return (NativePtr->field == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*)NativePtr->field); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::Field::set(CppSharp::Parser::AST::Field^ value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->field = (::CppSharp::CppParser::AST::Field*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->field = (struct ::CppSharp::CppParser::AST::Field*)value->NativePtr; } bool CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsFieldDesignator::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isFieldDesignator; + return NativePtr->isFieldDesignator; } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsFieldDesignator::set(bool value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isFieldDesignator = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isFieldDesignator = value; } bool CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsArrayDesignator::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayDesignator; + return NativePtr->isArrayDesignator; } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsArrayDesignator::set(bool value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayDesignator = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayDesignator = value; } bool CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsArrayRangeDesignator::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayRangeDesignator; + return NativePtr->isArrayRangeDesignator; } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::IsArrayRangeDesignator::set(bool value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayRangeDesignator = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->isArrayRangeDesignator = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::Designator::DotLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->dotLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->dotLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::DotLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->dotLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->dotLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::Designator::FieldLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->fieldLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->fieldLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::FieldLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->fieldLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->fieldLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::Designator::LBracketLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->lBracketLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->lBracketLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::LBracketLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->lBracketLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->lBracketLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::Designator::RBracketLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->rBracketLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->rBracketLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::RBracketLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->rBracketLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->rBracketLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::Designator::EllipsisLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->ellipsisLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->ellipsisLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::EllipsisLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->ellipsisLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->ellipsisLoc = _marshal0; } unsigned int CppSharp::Parser::AST::DesignatedInitExpr::Designator::FirstExprIndex::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->firstExprIndex; + return NativePtr->firstExprIndex; } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::FirstExprIndex::set(unsigned int value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->firstExprIndex = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->firstExprIndex = value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::DesignatedInitExpr::Designator::SourceRange::get() { - return (&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->sourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->sourceRange); + return (&NativePtr->sourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&NativePtr->sourceRange); } void CppSharp::Parser::AST::DesignatedInitExpr::Designator::SourceRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->sourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator*)NativePtr)->sourceRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } -CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native) +CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -4023,10 +4024,10 @@ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(::Cp CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator^ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator((::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*) native.ToPointer()); } -CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native, bool ownNativeInstance) +CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -4034,7 +4035,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(::Cp CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator^ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator((::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::~FieldDesignator() @@ -4045,7 +4046,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::~FieldDesignator() CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator(); + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator(); } CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator^ _0) @@ -4053,20 +4054,20 @@ CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::FieldDesignator(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator(__arg0); } -System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::DesignatedInitExpr::FieldDesignator::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator*)object.ToPointer(); } -CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native) +CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -4074,10 +4075,10 @@ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeD CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator^ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator((::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*) native.ToPointer()); } -CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native, bool ownNativeInstance) +CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -4085,7 +4086,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeD CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator^ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator((::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator((struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::~ArrayOrRangeDesignator() @@ -4096,7 +4097,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::~ArrayOrRange CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator(); + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator(); } CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeDesignator(CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator^ _0) @@ -4104,37 +4105,37 @@ CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::ArrayOrRangeD __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator(__arg0); } -System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::DesignatedInitExpr::ArrayOrRangeDesignator::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator*)object.ToPointer(); } -CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(::CppSharp::CppParser::AST::DesignatedInitExpr* native) +CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(struct ::CppSharp::CppParser::AST::DesignatedInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::DesignatedInitExpr^ CppSharp::Parser::AST::DesignatedInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr((::CppSharp::CppParser::AST::DesignatedInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(::CppSharp::CppParser::AST::DesignatedInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(struct ::CppSharp::CppParser::AST::DesignatedInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::DesignatedInitExpr^ CppSharp::Parser::AST::DesignatedInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr((::CppSharp::CppParser::AST::DesignatedInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DesignatedInitExpr((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DesignatedInitExpr::~DesignatedInitExpr() @@ -4145,7 +4146,7 @@ CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr(); } CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(CppSharp::Parser::AST::DesignatedInitExpr^ _0) @@ -4154,92 +4155,92 @@ CppSharp::Parser::AST::DesignatedInitExpr::DesignatedInitExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DesignatedInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DesignatedInitExpr::EqualOrColonLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->equalOrColonLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->equalOrColonLoc); } void CppSharp::Parser::AST::DesignatedInitExpr::EqualOrColonLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->equalOrColonLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->equalOrColonLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::DesignatedInitExpr::Init::get() { - return (((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init); } void CppSharp::Parser::AST::DesignatedInitExpr::Init::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::DesignatedInitExpr::Size::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->size; + return ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->size; } void CppSharp::Parser::AST::DesignatedInitExpr::Size::set(unsigned int value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->size = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->size = value; } bool CppSharp::Parser::AST::DesignatedInitExpr::UsesGNUSyntax::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->usesGNUSyntax; + return ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->usesGNUSyntax; } void CppSharp::Parser::AST::DesignatedInitExpr::UsesGNUSyntax::set(bool value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->usesGNUSyntax = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->usesGNUSyntax = value; } unsigned int CppSharp::Parser::AST::DesignatedInitExpr::NumSubExprs::get() { - return ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->numSubExprs; + return ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->numSubExprs; } void CppSharp::Parser::AST::DesignatedInitExpr::NumSubExprs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->numSubExprs = value; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->numSubExprs = value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::DesignatedInitExpr::DesignatorsSourceRange::get() { - return (&((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange); + return (&((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange); } void CppSharp::Parser::AST::DesignatedInitExpr::DesignatorsSourceRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitExpr*)NativePtr)->designatorsSourceRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } -CppSharp::Parser::AST::NoInitExpr::NoInitExpr(::CppSharp::CppParser::AST::NoInitExpr* native) +CppSharp::Parser::AST::NoInitExpr::NoInitExpr(struct ::CppSharp::CppParser::AST::NoInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::NoInitExpr^ CppSharp::Parser::AST::NoInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::NoInitExpr((::CppSharp::CppParser::AST::NoInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::NoInitExpr((struct ::CppSharp::CppParser::AST::NoInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::NoInitExpr::NoInitExpr(::CppSharp::CppParser::AST::NoInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::NoInitExpr::NoInitExpr(struct ::CppSharp::CppParser::AST::NoInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::NoInitExpr^ CppSharp::Parser::AST::NoInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::NoInitExpr((::CppSharp::CppParser::AST::NoInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::NoInitExpr((struct ::CppSharp::CppParser::AST::NoInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::NoInitExpr::~NoInitExpr() @@ -4250,7 +4251,7 @@ CppSharp::Parser::AST::NoInitExpr::NoInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::NoInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::NoInitExpr(); } CppSharp::Parser::AST::NoInitExpr::NoInitExpr(CppSharp::Parser::AST::NoInitExpr^ _0) @@ -4259,28 +4260,28 @@ CppSharp::Parser::AST::NoInitExpr::NoInitExpr(CppSharp::Parser::AST::NoInitExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::NoInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::NoInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::NoInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::NoInitExpr(__arg0); } -CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native) +CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::DesignatedInitUpdateExpr^ CppSharp::Parser::AST::DesignatedInitUpdateExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitUpdateExpr((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DesignatedInitUpdateExpr((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*) native.ToPointer()); } -CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::DesignatedInitUpdateExpr^ CppSharp::Parser::AST::DesignatedInitUpdateExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DesignatedInitUpdateExpr((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DesignatedInitUpdateExpr((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DesignatedInitUpdateExpr::~DesignatedInitUpdateExpr() @@ -4291,7 +4292,7 @@ CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr(); } CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(CppSharp::Parser::AST::DesignatedInitUpdateExpr^ _0) @@ -4300,48 +4301,48 @@ CppSharp::Parser::AST::DesignatedInitUpdateExpr::DesignatedInitUpdateExpr(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::DesignatedInitUpdateExpr::Base::get() { - return (((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base); } void CppSharp::Parser::AST::DesignatedInitUpdateExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::InitListExpr^ CppSharp::Parser::AST::DesignatedInitUpdateExpr::Updater::get() { - return (((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((::CppSharp::CppParser::AST::InitListExpr*)((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater); + return (((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::InitListExpr((struct ::CppSharp::CppParser::AST::InitListExpr*)((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater); } void CppSharp::Parser::AST::DesignatedInitUpdateExpr::Updater::set(CppSharp::Parser::AST::InitListExpr^ value) { - ((::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater = (::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr*)NativePtr)->updater = (struct ::CppSharp::CppParser::AST::InitListExpr*)value->NativePtr; } -CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(::CppSharp::CppParser::AST::ArrayInitLoopExpr* native) +CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ArrayInitLoopExpr^ CppSharp::Parser::AST::ArrayInitLoopExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ArrayInitLoopExpr((::CppSharp::CppParser::AST::ArrayInitLoopExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ArrayInitLoopExpr((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(::CppSharp::CppParser::AST::ArrayInitLoopExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ArrayInitLoopExpr^ CppSharp::Parser::AST::ArrayInitLoopExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ArrayInitLoopExpr((::CppSharp::CppParser::AST::ArrayInitLoopExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ArrayInitLoopExpr((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ArrayInitLoopExpr::~ArrayInitLoopExpr() @@ -4352,7 +4353,7 @@ CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ArrayInitLoopExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr(); } CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(CppSharp::Parser::AST::ArrayInitLoopExpr^ _0) @@ -4361,48 +4362,48 @@ CppSharp::Parser::AST::ArrayInitLoopExpr::ArrayInitLoopExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ArrayInitLoopExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ArrayInitLoopExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr(__arg0); } CppSharp::Parser::AST::OpaqueValueExpr^ CppSharp::Parser::AST::ArrayInitLoopExpr::CommonExpr::get() { - return (((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((::CppSharp::CppParser::AST::OpaqueValueExpr*)((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr); + return (((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr); } void CppSharp::Parser::AST::ArrayInitLoopExpr::CommonExpr::set(CppSharp::Parser::AST::OpaqueValueExpr^ value) { - ((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr = (::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->commonExpr = (struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArrayInitLoopExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::ArrayInitLoopExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(::CppSharp::CppParser::AST::ArrayInitIndexExpr* native) +CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ArrayInitIndexExpr^ CppSharp::Parser::AST::ArrayInitIndexExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ArrayInitIndexExpr((::CppSharp::CppParser::AST::ArrayInitIndexExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ArrayInitIndexExpr((struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(::CppSharp::CppParser::AST::ArrayInitIndexExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ArrayInitIndexExpr^ CppSharp::Parser::AST::ArrayInitIndexExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ArrayInitIndexExpr((::CppSharp::CppParser::AST::ArrayInitIndexExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ArrayInitIndexExpr((struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ArrayInitIndexExpr::~ArrayInitIndexExpr() @@ -4413,7 +4414,7 @@ CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ArrayInitIndexExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr(); } CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(CppSharp::Parser::AST::ArrayInitIndexExpr^ _0) @@ -4422,28 +4423,28 @@ CppSharp::Parser::AST::ArrayInitIndexExpr::ArrayInitIndexExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ArrayInitIndexExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ArrayInitIndexExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr(__arg0); } -CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(::CppSharp::CppParser::AST::ImplicitValueInitExpr* native) +CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ImplicitValueInitExpr^ CppSharp::Parser::AST::ImplicitValueInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ImplicitValueInitExpr((::CppSharp::CppParser::AST::ImplicitValueInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ImplicitValueInitExpr((struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(::CppSharp::CppParser::AST::ImplicitValueInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ImplicitValueInitExpr^ CppSharp::Parser::AST::ImplicitValueInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ImplicitValueInitExpr((::CppSharp::CppParser::AST::ImplicitValueInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ImplicitValueInitExpr((struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ImplicitValueInitExpr::~ImplicitValueInitExpr() @@ -4454,7 +4455,7 @@ CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ImplicitValueInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr(); } CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(CppSharp::Parser::AST::ImplicitValueInitExpr^ _0) @@ -4463,28 +4464,28 @@ CppSharp::Parser::AST::ImplicitValueInitExpr::ImplicitValueInitExpr(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ImplicitValueInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ImplicitValueInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr(__arg0); } -CppSharp::Parser::AST::ParenListExpr::ParenListExpr(::CppSharp::CppParser::AST::ParenListExpr* native) +CppSharp::Parser::AST::ParenListExpr::ParenListExpr(struct ::CppSharp::CppParser::AST::ParenListExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ParenListExpr^ CppSharp::Parser::AST::ParenListExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ParenListExpr((::CppSharp::CppParser::AST::ParenListExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ParenListExpr((struct ::CppSharp::CppParser::AST::ParenListExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ParenListExpr::ParenListExpr(::CppSharp::CppParser::AST::ParenListExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ParenListExpr::ParenListExpr(struct ::CppSharp::CppParser::AST::ParenListExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ParenListExpr^ CppSharp::Parser::AST::ParenListExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ParenListExpr((::CppSharp::CppParser::AST::ParenListExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ParenListExpr((struct ::CppSharp::CppParser::AST::ParenListExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ParenListExpr::~ParenListExpr() @@ -4495,7 +4496,7 @@ CppSharp::Parser::AST::ParenListExpr::ParenListExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ParenListExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ParenListExpr(); } CppSharp::Parser::AST::ParenListExpr::ParenListExpr(CppSharp::Parser::AST::ParenListExpr^ _0) @@ -4504,62 +4505,62 @@ CppSharp::Parser::AST::ParenListExpr::ParenListExpr(CppSharp::Parser::AST::Paren __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ParenListExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ParenListExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ParenListExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ParenListExpr(__arg0); } unsigned int CppSharp::Parser::AST::ParenListExpr::NumExprs::get() { - return ((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->numExprs; + return ((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->numExprs; } void CppSharp::Parser::AST::ParenListExpr::NumExprs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->numExprs = value; + ((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->numExprs = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ParenListExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::ParenListExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ParenListExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::ParenListExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ParenListExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(::CppSharp::CppParser::AST::GenericSelectionExpr* native) +CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(struct ::CppSharp::CppParser::AST::GenericSelectionExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::GenericSelectionExpr^ CppSharp::Parser::AST::GenericSelectionExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::GenericSelectionExpr((::CppSharp::CppParser::AST::GenericSelectionExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::GenericSelectionExpr((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*) native.ToPointer()); } -CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(::CppSharp::CppParser::AST::GenericSelectionExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(struct ::CppSharp::CppParser::AST::GenericSelectionExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::GenericSelectionExpr^ CppSharp::Parser::AST::GenericSelectionExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::GenericSelectionExpr((::CppSharp::CppParser::AST::GenericSelectionExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::GenericSelectionExpr((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::GenericSelectionExpr::~GenericSelectionExpr() @@ -4570,7 +4571,7 @@ CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::GenericSelectionExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::GenericSelectionExpr(); } CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(CppSharp::Parser::AST::GenericSelectionExpr^ _0) @@ -4579,114 +4580,114 @@ CppSharp::Parser::AST::GenericSelectionExpr::GenericSelectionExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::GenericSelectionExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::GenericSelectionExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::GenericSelectionExpr(__arg0); } unsigned int CppSharp::Parser::AST::GenericSelectionExpr::NumAssocs::get() { - return ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->numAssocs; + return ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->numAssocs; } void CppSharp::Parser::AST::GenericSelectionExpr::NumAssocs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->numAssocs = value; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->numAssocs = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GenericSelectionExpr::GenericLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->genericLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->genericLoc); } void CppSharp::Parser::AST::GenericSelectionExpr::GenericLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->genericLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->genericLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GenericSelectionExpr::DefaultLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->defaultLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->defaultLoc); } void CppSharp::Parser::AST::GenericSelectionExpr::DefaultLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->defaultLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->defaultLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GenericSelectionExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::GenericSelectionExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::GenericSelectionExpr::ControllingExpr::get() { - return (((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr); + return (((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr); } void CppSharp::Parser::AST::GenericSelectionExpr::ControllingExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->controllingExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::GenericSelectionExpr::IsResultDependent::get() { - return ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->isResultDependent; + return ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->isResultDependent; } void CppSharp::Parser::AST::GenericSelectionExpr::IsResultDependent::set(bool value) { - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->isResultDependent = value; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->isResultDependent = value; } unsigned int CppSharp::Parser::AST::GenericSelectionExpr::ResultIndex::get() { - return ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultIndex; + return ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultIndex; } void CppSharp::Parser::AST::GenericSelectionExpr::ResultIndex::set(unsigned int value) { - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultIndex = value; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultIndex = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::GenericSelectionExpr::ResultExpr::get() { - return (((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr); + return (((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr); } void CppSharp::Parser::AST::GenericSelectionExpr::ResultExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::GenericSelectionExpr*)NativePtr)->resultExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(::CppSharp::CppParser::AST::ExtVectorElementExpr* native) +CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(struct ::CppSharp::CppParser::AST::ExtVectorElementExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ExtVectorElementExpr^ CppSharp::Parser::AST::ExtVectorElementExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ExtVectorElementExpr((::CppSharp::CppParser::AST::ExtVectorElementExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ExtVectorElementExpr((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(::CppSharp::CppParser::AST::ExtVectorElementExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(struct ::CppSharp::CppParser::AST::ExtVectorElementExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ExtVectorElementExpr^ CppSharp::Parser::AST::ExtVectorElementExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ExtVectorElementExpr((::CppSharp::CppParser::AST::ExtVectorElementExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ExtVectorElementExpr((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ExtVectorElementExpr::~ExtVectorElementExpr() @@ -4697,7 +4698,7 @@ CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ExtVectorElementExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ExtVectorElementExpr(); } CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(CppSharp::Parser::AST::ExtVectorElementExpr^ _0) @@ -4706,80 +4707,80 @@ CppSharp::Parser::AST::ExtVectorElementExpr::ExtVectorElementExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ExtVectorElementExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExtVectorElementExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExtVectorElementExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ExtVectorElementExpr::Base::get() { - return (((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base); } void CppSharp::Parser::AST::ExtVectorElementExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ExtVectorElementExpr::AccessorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->accessorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->accessorLoc); } void CppSharp::Parser::AST::ExtVectorElementExpr::AccessorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->accessorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->accessorLoc = _marshal0; } unsigned int CppSharp::Parser::AST::ExtVectorElementExpr::NumElements::get() { - return ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->numElements; + return ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->numElements; } void CppSharp::Parser::AST::ExtVectorElementExpr::NumElements::set(unsigned int value) { - ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->numElements = value; + ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->numElements = value; } bool CppSharp::Parser::AST::ExtVectorElementExpr::ContainsDuplicateElements::get() { - return ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->containsDuplicateElements; + return ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->containsDuplicateElements; } void CppSharp::Parser::AST::ExtVectorElementExpr::ContainsDuplicateElements::set(bool value) { - ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->containsDuplicateElements = value; + ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->containsDuplicateElements = value; } bool CppSharp::Parser::AST::ExtVectorElementExpr::IsArrow::get() { - return ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->isArrow; + return ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->isArrow; } void CppSharp::Parser::AST::ExtVectorElementExpr::IsArrow::set(bool value) { - ((::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->isArrow = value; + ((struct ::CppSharp::CppParser::AST::ExtVectorElementExpr*)NativePtr)->isArrow = value; } -CppSharp::Parser::AST::BlockExpr::BlockExpr(::CppSharp::CppParser::AST::BlockExpr* native) +CppSharp::Parser::AST::BlockExpr::BlockExpr(struct ::CppSharp::CppParser::AST::BlockExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::BlockExpr^ CppSharp::Parser::AST::BlockExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BlockExpr((::CppSharp::CppParser::AST::BlockExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BlockExpr((struct ::CppSharp::CppParser::AST::BlockExpr*) native.ToPointer()); } -CppSharp::Parser::AST::BlockExpr::BlockExpr(::CppSharp::CppParser::AST::BlockExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::BlockExpr::BlockExpr(struct ::CppSharp::CppParser::AST::BlockExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::BlockExpr^ CppSharp::Parser::AST::BlockExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BlockExpr((::CppSharp::CppParser::AST::BlockExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BlockExpr((struct ::CppSharp::CppParser::AST::BlockExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BlockExpr::~BlockExpr() @@ -4790,7 +4791,7 @@ CppSharp::Parser::AST::BlockExpr::BlockExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BlockExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::BlockExpr(); } CppSharp::Parser::AST::BlockExpr::BlockExpr(CppSharp::Parser::AST::BlockExpr^ _0) @@ -4799,50 +4800,50 @@ CppSharp::Parser::AST::BlockExpr::BlockExpr(CppSharp::Parser::AST::BlockExpr^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BlockExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BlockExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BlockExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BlockExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::BlockExpr::CaretLocation::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->caretLocation); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->caretLocation); } void CppSharp::Parser::AST::BlockExpr::CaretLocation::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->caretLocation = _marshal0; + ((struct ::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->caretLocation = _marshal0; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::BlockExpr::Body::get() { - return (((::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body); } void CppSharp::Parser::AST::BlockExpr::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::BlockExpr*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(::CppSharp::CppParser::AST::AsTypeExpr* native) +CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(struct ::CppSharp::CppParser::AST::AsTypeExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::AsTypeExpr^ CppSharp::Parser::AST::AsTypeExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AsTypeExpr((::CppSharp::CppParser::AST::AsTypeExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AsTypeExpr((struct ::CppSharp::CppParser::AST::AsTypeExpr*) native.ToPointer()); } -CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(::CppSharp::CppParser::AST::AsTypeExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(struct ::CppSharp::CppParser::AST::AsTypeExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::AsTypeExpr^ CppSharp::Parser::AST::AsTypeExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AsTypeExpr((::CppSharp::CppParser::AST::AsTypeExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AsTypeExpr((struct ::CppSharp::CppParser::AST::AsTypeExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AsTypeExpr::~AsTypeExpr() @@ -4853,7 +4854,7 @@ CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AsTypeExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::AsTypeExpr(); } CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(CppSharp::Parser::AST::AsTypeExpr^ _0) @@ -4862,62 +4863,62 @@ CppSharp::Parser::AST::AsTypeExpr::AsTypeExpr(CppSharp::Parser::AST::AsTypeExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AsTypeExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AsTypeExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AsTypeExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AsTypeExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AsTypeExpr::SrcExpr::get() { - return (((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr); + return (((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr); } void CppSharp::Parser::AST::AsTypeExpr::SrcExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->srcExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AsTypeExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::AsTypeExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AsTypeExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::AsTypeExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AsTypeExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(::CppSharp::CppParser::AST::PseudoObjectExpr* native) +CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(struct ::CppSharp::CppParser::AST::PseudoObjectExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::PseudoObjectExpr^ CppSharp::Parser::AST::PseudoObjectExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PseudoObjectExpr((::CppSharp::CppParser::AST::PseudoObjectExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PseudoObjectExpr((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*) native.ToPointer()); } -CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(::CppSharp::CppParser::AST::PseudoObjectExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(struct ::CppSharp::CppParser::AST::PseudoObjectExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::PseudoObjectExpr^ CppSharp::Parser::AST::PseudoObjectExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PseudoObjectExpr((::CppSharp::CppParser::AST::PseudoObjectExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PseudoObjectExpr((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PseudoObjectExpr::~PseudoObjectExpr() @@ -4928,7 +4929,7 @@ CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PseudoObjectExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::PseudoObjectExpr(); } CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(CppSharp::Parser::AST::PseudoObjectExpr^ _0) @@ -4937,68 +4938,68 @@ CppSharp::Parser::AST::PseudoObjectExpr::PseudoObjectExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PseudoObjectExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PseudoObjectExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PseudoObjectExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::PseudoObjectExpr::SyntacticForm::get() { - return (((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm); + return (((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm); } void CppSharp::Parser::AST::PseudoObjectExpr::SyntacticForm::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->syntacticForm = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::PseudoObjectExpr::ResultExprIndex::get() { - return ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExprIndex; + return ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExprIndex; } void CppSharp::Parser::AST::PseudoObjectExpr::ResultExprIndex::set(unsigned int value) { - ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExprIndex = value; + ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExprIndex = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::PseudoObjectExpr::ResultExpr::get() { - return (((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr); + return (((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr); } void CppSharp::Parser::AST::PseudoObjectExpr::ResultExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->resultExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::PseudoObjectExpr::NumSemanticExprs::get() { - return ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->numSemanticExprs; + return ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->numSemanticExprs; } void CppSharp::Parser::AST::PseudoObjectExpr::NumSemanticExprs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->numSemanticExprs = value; + ((struct ::CppSharp::CppParser::AST::PseudoObjectExpr*)NativePtr)->numSemanticExprs = value; } -CppSharp::Parser::AST::AtomicExpr::AtomicExpr(::CppSharp::CppParser::AST::AtomicExpr* native) +CppSharp::Parser::AST::AtomicExpr::AtomicExpr(struct ::CppSharp::CppParser::AST::AtomicExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::AtomicExpr^ CppSharp::Parser::AST::AtomicExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AtomicExpr((::CppSharp::CppParser::AST::AtomicExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AtomicExpr((struct ::CppSharp::CppParser::AST::AtomicExpr*) native.ToPointer()); } -CppSharp::Parser::AST::AtomicExpr::AtomicExpr(::CppSharp::CppParser::AST::AtomicExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::AtomicExpr::AtomicExpr(struct ::CppSharp::CppParser::AST::AtomicExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::AtomicExpr^ CppSharp::Parser::AST::AtomicExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AtomicExpr((::CppSharp::CppParser::AST::AtomicExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AtomicExpr((struct ::CppSharp::CppParser::AST::AtomicExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AtomicExpr::~AtomicExpr() @@ -5009,7 +5010,7 @@ CppSharp::Parser::AST::AtomicExpr::AtomicExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AtomicExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::AtomicExpr(); } CppSharp::Parser::AST::AtomicExpr::AtomicExpr(CppSharp::Parser::AST::AtomicExpr^ _0) @@ -5018,184 +5019,184 @@ CppSharp::Parser::AST::AtomicExpr::AtomicExpr(CppSharp::Parser::AST::AtomicExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AtomicExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AtomicExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AtomicExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AtomicExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Ptr::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr); } void CppSharp::Parser::AST::AtomicExpr::Ptr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->ptr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Order::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order); } void CppSharp::Parser::AST::AtomicExpr::Order::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->order = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Scope::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope); } void CppSharp::Parser::AST::AtomicExpr::Scope::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->scope = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Val1::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1 == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1 == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1); } void CppSharp::Parser::AST::AtomicExpr::Val1::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1 = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val1 = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::OrderFail::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail); } void CppSharp::Parser::AST::AtomicExpr::OrderFail::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->orderFail = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Val2::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2 == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2 == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2); } void CppSharp::Parser::AST::AtomicExpr::Val2::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2 = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->val2 = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AtomicExpr::Weak::get() { - return (((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak); + return (((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak); } void CppSharp::Parser::AST::AtomicExpr::Weak::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->weak = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::AtomicExpr::ValueType::get() { - return (&((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType); + return (&((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType); } void CppSharp::Parser::AST::AtomicExpr::ValueType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->valueType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::AtomicExpr::AtomicOp CppSharp::Parser::AST::AtomicExpr::Op::get() { - return (CppSharp::Parser::AST::AtomicExpr::AtomicOp)((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->op; + return (CppSharp::Parser::AST::AtomicExpr::AtomicOp)((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->op; } void CppSharp::Parser::AST::AtomicExpr::Op::set(CppSharp::Parser::AST::AtomicExpr::AtomicOp value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->op = (::CppSharp::CppParser::AST::AtomicExpr::AtomicOp)value; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->op = (enum ::CppSharp::CppParser::AST::AtomicExpr::AtomicOp)value; } unsigned int CppSharp::Parser::AST::AtomicExpr::NumSubExprs::get() { - return ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->numSubExprs; + return ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->numSubExprs; } void CppSharp::Parser::AST::AtomicExpr::NumSubExprs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->numSubExprs = value; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->numSubExprs = value; } bool CppSharp::Parser::AST::AtomicExpr::IsVolatile::get() { - return ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isVolatile; + return ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isVolatile; } void CppSharp::Parser::AST::AtomicExpr::IsVolatile::set(bool value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isVolatile = value; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isVolatile = value; } bool CppSharp::Parser::AST::AtomicExpr::IsCmpXChg::get() { - return ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isCmpXChg; + return ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isCmpXChg; } void CppSharp::Parser::AST::AtomicExpr::IsCmpXChg::set(bool value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isCmpXChg = value; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isCmpXChg = value; } bool CppSharp::Parser::AST::AtomicExpr::IsOpenCL::get() { - return ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isOpenCL; + return ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isOpenCL; } void CppSharp::Parser::AST::AtomicExpr::IsOpenCL::set(bool value) { - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isOpenCL = value; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->isOpenCL = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AtomicExpr::BuiltinLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->builtinLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->builtinLoc); } void CppSharp::Parser::AST::AtomicExpr::BuiltinLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->builtinLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->builtinLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AtomicExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::AtomicExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AtomicExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::TypoExpr::TypoExpr(::CppSharp::CppParser::AST::TypoExpr* native) +CppSharp::Parser::AST::TypoExpr::TypoExpr(struct ::CppSharp::CppParser::AST::TypoExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::TypoExpr^ CppSharp::Parser::AST::TypoExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypoExpr((::CppSharp::CppParser::AST::TypoExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypoExpr((struct ::CppSharp::CppParser::AST::TypoExpr*) native.ToPointer()); } -CppSharp::Parser::AST::TypoExpr::TypoExpr(::CppSharp::CppParser::AST::TypoExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypoExpr::TypoExpr(struct ::CppSharp::CppParser::AST::TypoExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypoExpr^ CppSharp::Parser::AST::TypoExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypoExpr((::CppSharp::CppParser::AST::TypoExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypoExpr((struct ::CppSharp::CppParser::AST::TypoExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypoExpr::~TypoExpr() @@ -5206,7 +5207,7 @@ CppSharp::Parser::AST::TypoExpr::TypoExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypoExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypoExpr(); } CppSharp::Parser::AST::TypoExpr::TypoExpr(CppSharp::Parser::AST::TypoExpr^ _0) @@ -5215,28 +5216,28 @@ CppSharp::Parser::AST::TypoExpr::TypoExpr(CppSharp::Parser::AST::TypoExpr^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypoExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypoExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypoExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypoExpr(__arg0); } -CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(::CppSharp::CppParser::AST::CXXOperatorCallExpr* native) +CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr* native) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native) { } CppSharp::Parser::AST::CXXOperatorCallExpr^ CppSharp::Parser::AST::CXXOperatorCallExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXOperatorCallExpr((::CppSharp::CppParser::AST::CXXOperatorCallExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXOperatorCallExpr((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(::CppSharp::CppParser::AST::CXXOperatorCallExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXOperatorCallExpr^ CppSharp::Parser::AST::CXXOperatorCallExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXOperatorCallExpr((::CppSharp::CppParser::AST::CXXOperatorCallExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXOperatorCallExpr((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXOperatorCallExpr::~CXXOperatorCallExpr() @@ -5245,7 +5246,7 @@ CppSharp::Parser::AST::CXXOperatorCallExpr::~CXXOperatorCallExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXOperatorCallExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*) __nativePtr; } } @@ -5253,7 +5254,7 @@ CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr() : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXOperatorCallExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr(); } CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(CppSharp::Parser::AST::CXXOperatorCallExpr^ _0) @@ -5262,70 +5263,70 @@ CppSharp::Parser::AST::CXXOperatorCallExpr::CXXOperatorCallExpr(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXOperatorCallExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXOperatorCallExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr(__arg0); } CppSharp::Parser::AST::OverloadedOperatorKind CppSharp::Parser::AST::CXXOperatorCallExpr::Operator::get() { - return (CppSharp::Parser::AST::OverloadedOperatorKind)((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->_operator; + return (CppSharp::Parser::AST::OverloadedOperatorKind)((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->_operator; } void CppSharp::Parser::AST::CXXOperatorCallExpr::Operator::set(CppSharp::Parser::AST::OverloadedOperatorKind value) { - ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->_operator = (::CppSharp::CppParser::AST::OverloadedOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->_operator = (enum ::CppSharp::CppParser::AST::OverloadedOperatorKind)value; } bool CppSharp::Parser::AST::CXXOperatorCallExpr::IsAssignmentOp::get() { - return ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isAssignmentOp; + return ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isAssignmentOp; } void CppSharp::Parser::AST::CXXOperatorCallExpr::IsAssignmentOp::set(bool value) { - ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isAssignmentOp = value; + ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isAssignmentOp = value; } bool CppSharp::Parser::AST::CXXOperatorCallExpr::IsInfixBinaryOp::get() { - return ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isInfixBinaryOp; + return ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isInfixBinaryOp; } void CppSharp::Parser::AST::CXXOperatorCallExpr::IsInfixBinaryOp::set(bool value) { - ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isInfixBinaryOp = value; + ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->isInfixBinaryOp = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXOperatorCallExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::CXXOperatorCallExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr*)NativePtr)->operatorLoc = _marshal0; } -CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(::CppSharp::CppParser::AST::CXXMemberCallExpr* native) +CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(struct ::CppSharp::CppParser::AST::CXXMemberCallExpr* native) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native) { } CppSharp::Parser::AST::CXXMemberCallExpr^ CppSharp::Parser::AST::CXXMemberCallExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXMemberCallExpr((::CppSharp::CppParser::AST::CXXMemberCallExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXMemberCallExpr((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(::CppSharp::CppParser::AST::CXXMemberCallExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(struct ::CppSharp::CppParser::AST::CXXMemberCallExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXMemberCallExpr^ CppSharp::Parser::AST::CXXMemberCallExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXMemberCallExpr((::CppSharp::CppParser::AST::CXXMemberCallExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXMemberCallExpr((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXMemberCallExpr::~CXXMemberCallExpr() @@ -5334,7 +5335,7 @@ CppSharp::Parser::AST::CXXMemberCallExpr::~CXXMemberCallExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXMemberCallExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*) __nativePtr; } } @@ -5342,7 +5343,7 @@ CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr() : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXMemberCallExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXMemberCallExpr(); } CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(CppSharp::Parser::AST::CXXMemberCallExpr^ _0) @@ -5351,48 +5352,48 @@ CppSharp::Parser::AST::CXXMemberCallExpr::CXXMemberCallExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXMemberCallExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXMemberCallExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXMemberCallExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXMemberCallExpr::ImplicitObjectArgument::get() { - return (((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument); + return (((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument); } void CppSharp::Parser::AST::CXXMemberCallExpr::ImplicitObjectArgument::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->implicitObjectArgument = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::CXXMemberCallExpr::MethodDecl::get() { - return (((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl); + return (((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl); } void CppSharp::Parser::AST::CXXMemberCallExpr::MethodDecl::set(CppSharp::Parser::AST::Method^ value) { - ((::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl = (::CppSharp::CppParser::AST::Method*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXMemberCallExpr*)NativePtr)->methodDecl = (struct ::CppSharp::CppParser::AST::Method*)value->NativePtr; } -CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(::CppSharp::CppParser::AST::CUDAKernelCallExpr* native) +CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr* native) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native) { } CppSharp::Parser::AST::CUDAKernelCallExpr^ CppSharp::Parser::AST::CUDAKernelCallExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CUDAKernelCallExpr((::CppSharp::CppParser::AST::CUDAKernelCallExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CUDAKernelCallExpr((struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(::CppSharp::CppParser::AST::CUDAKernelCallExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CUDAKernelCallExpr^ CppSharp::Parser::AST::CUDAKernelCallExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CUDAKernelCallExpr((::CppSharp::CppParser::AST::CUDAKernelCallExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CUDAKernelCallExpr((struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CUDAKernelCallExpr::~CUDAKernelCallExpr() @@ -5401,7 +5402,7 @@ CppSharp::Parser::AST::CUDAKernelCallExpr::~CUDAKernelCallExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CUDAKernelCallExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*) __nativePtr; } } @@ -5409,7 +5410,7 @@ CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr() : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CUDAKernelCallExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr(); } CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(CppSharp::Parser::AST::CUDAKernelCallExpr^ _0) @@ -5418,38 +5419,38 @@ CppSharp::Parser::AST::CUDAKernelCallExpr::CUDAKernelCallExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CUDAKernelCallExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CUDAKernelCallExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr(__arg0); } CppSharp::Parser::AST::CallExpr^ CppSharp::Parser::AST::CUDAKernelCallExpr::Config::get() { - return (((::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)((::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config); + return (((struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CallExpr((struct ::CppSharp::CppParser::AST::CallExpr*)((struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config); } void CppSharp::Parser::AST::CUDAKernelCallExpr::Config::set(CppSharp::Parser::AST::CallExpr^ value) { - ((::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config = (::CppSharp::CppParser::AST::CallExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr*)NativePtr)->config = (struct ::CppSharp::CppParser::AST::CallExpr*)value->NativePtr; } -CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(::CppSharp::CppParser::AST::CXXNamedCastExpr* native) +CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(struct ::CppSharp::CppParser::AST::CXXNamedCastExpr* native) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native) { } CppSharp::Parser::AST::CXXNamedCastExpr^ CppSharp::Parser::AST::CXXNamedCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(::CppSharp::CppParser::AST::CXXNamedCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(struct ::CppSharp::CppParser::AST::CXXNamedCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXNamedCastExpr^ CppSharp::Parser::AST::CXXNamedCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXNamedCastExpr::~CXXNamedCastExpr() @@ -5460,15 +5461,15 @@ CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr() : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXNamedCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNamedCastExpr(); } CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::CXXNamedCastExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNamedCastExpr(__arg0); } CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(CppSharp::Parser::AST::CXXNamedCastExpr^ _0) @@ -5477,83 +5478,83 @@ CppSharp::Parser::AST::CXXNamedCastExpr::CXXNamedCastExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXNamedCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXNamedCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNamedCastExpr(__arg0); } CppSharp::Parser::AST::CXXNamedCastExpr::operator CppSharp::Parser::AST::CXXNamedCastExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::CXXNamedCastExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::CXXNamedCastExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::CXXNamedCastExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXNamedCastExpr((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)____ret, true); } -System::String^ CppSharp::Parser::AST::CXXNamedCastExpr::CastName::get() +::System::String^ CppSharp::Parser::AST::CXXNamedCastExpr::CastName::get() { - return (((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName == 0 ? nullptr : clix::marshalString(((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName)); + return (((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName == 0 ? nullptr : clix::marshalString(((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName)); } -void CppSharp::Parser::AST::CXXNamedCastExpr::CastName::set(System::String^ value) +void CppSharp::Parser::AST::CXXNamedCastExpr::CastName::set(::System::String^ value) { auto _value = clix::marshalString(value); - ((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName = _value.c_str(); + ((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->castName = _value.c_str(); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXNamedCastExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::CXXNamedCastExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXNamedCastExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CXXNamedCastExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::CXXNamedCastExpr::AngleBrackets::get() { - return (&((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets); + return (&((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets); } void CppSharp::Parser::AST::CXXNamedCastExpr::AngleBrackets::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNamedCastExpr*)NativePtr)->angleBrackets = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } -CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(::CppSharp::CppParser::AST::CXXStaticCastExpr* native) +CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(struct ::CppSharp::CppParser::AST::CXXStaticCastExpr* native) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native) { } CppSharp::Parser::AST::CXXStaticCastExpr^ CppSharp::Parser::AST::CXXStaticCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXStaticCastExpr((::CppSharp::CppParser::AST::CXXStaticCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXStaticCastExpr((struct ::CppSharp::CppParser::AST::CXXStaticCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(::CppSharp::CppParser::AST::CXXStaticCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(struct ::CppSharp::CppParser::AST::CXXStaticCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXStaticCastExpr^ CppSharp::Parser::AST::CXXStaticCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXStaticCastExpr((::CppSharp::CppParser::AST::CXXStaticCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXStaticCastExpr((struct ::CppSharp::CppParser::AST::CXXStaticCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXStaticCastExpr::~CXXStaticCastExpr() @@ -5564,7 +5565,7 @@ CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr() : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXStaticCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXStaticCastExpr(); } CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(CppSharp::Parser::AST::CXXStaticCastExpr^ _0) @@ -5573,28 +5574,28 @@ CppSharp::Parser::AST::CXXStaticCastExpr::CXXStaticCastExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXStaticCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXStaticCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXStaticCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXStaticCastExpr(__arg0); } -CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(::CppSharp::CppParser::AST::CXXDynamicCastExpr* native) +CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr* native) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native) { } CppSharp::Parser::AST::CXXDynamicCastExpr^ CppSharp::Parser::AST::CXXDynamicCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXDynamicCastExpr((::CppSharp::CppParser::AST::CXXDynamicCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXDynamicCastExpr((struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(::CppSharp::CppParser::AST::CXXDynamicCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXDynamicCastExpr^ CppSharp::Parser::AST::CXXDynamicCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXDynamicCastExpr((::CppSharp::CppParser::AST::CXXDynamicCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXDynamicCastExpr((struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXDynamicCastExpr::~CXXDynamicCastExpr() @@ -5605,7 +5606,7 @@ CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr() : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXDynamicCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr(); } CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(CppSharp::Parser::AST::CXXDynamicCastExpr^ _0) @@ -5614,38 +5615,38 @@ CppSharp::Parser::AST::CXXDynamicCastExpr::CXXDynamicCastExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXDynamicCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXDynamicCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr(__arg0); } bool CppSharp::Parser::AST::CXXDynamicCastExpr::IsAlwaysNull::get() { - return ((::CppSharp::CppParser::AST::CXXDynamicCastExpr*)NativePtr)->isAlwaysNull; + return ((struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr*)NativePtr)->isAlwaysNull; } void CppSharp::Parser::AST::CXXDynamicCastExpr::IsAlwaysNull::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDynamicCastExpr*)NativePtr)->isAlwaysNull = value; + ((struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr*)NativePtr)->isAlwaysNull = value; } -CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native) +CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native) { } CppSharp::Parser::AST::CXXReinterpretCastExpr^ CppSharp::Parser::AST::CXXReinterpretCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXReinterpretCastExpr((::CppSharp::CppParser::AST::CXXReinterpretCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXReinterpretCastExpr((struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXReinterpretCastExpr^ CppSharp::Parser::AST::CXXReinterpretCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXReinterpretCastExpr((::CppSharp::CppParser::AST::CXXReinterpretCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXReinterpretCastExpr((struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXReinterpretCastExpr::~CXXReinterpretCastExpr() @@ -5656,7 +5657,7 @@ CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr() : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXReinterpretCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr(); } CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(CppSharp::Parser::AST::CXXReinterpretCastExpr^ _0) @@ -5665,28 +5666,28 @@ CppSharp::Parser::AST::CXXReinterpretCastExpr::CXXReinterpretCastExpr(CppSharp:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXReinterpretCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXReinterpretCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr(__arg0); } -CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(::CppSharp::CppParser::AST::CXXConstCastExpr* native) +CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(struct ::CppSharp::CppParser::AST::CXXConstCastExpr* native) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native) { } CppSharp::Parser::AST::CXXConstCastExpr^ CppSharp::Parser::AST::CXXConstCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXConstCastExpr((::CppSharp::CppParser::AST::CXXConstCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXConstCastExpr((struct ::CppSharp::CppParser::AST::CXXConstCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(::CppSharp::CppParser::AST::CXXConstCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(struct ::CppSharp::CppParser::AST::CXXConstCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXConstCastExpr^ CppSharp::Parser::AST::CXXConstCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXConstCastExpr((::CppSharp::CppParser::AST::CXXConstCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXConstCastExpr((struct ::CppSharp::CppParser::AST::CXXConstCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXConstCastExpr::~CXXConstCastExpr() @@ -5697,7 +5698,7 @@ CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr() : CppSharp::Parser::AST::CXXNamedCastExpr((::CppSharp::CppParser::AST::CXXNamedCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstCastExpr(); } CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(CppSharp::Parser::AST::CXXConstCastExpr^ _0) @@ -5706,28 +5707,28 @@ CppSharp::Parser::AST::CXXConstCastExpr::CXXConstCastExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXConstCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXConstCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstCastExpr(__arg0); } -CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(::CppSharp::CppParser::AST::UserDefinedLiteral* native) +CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(struct ::CppSharp::CppParser::AST::UserDefinedLiteral* native) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native) { } CppSharp::Parser::AST::UserDefinedLiteral^ CppSharp::Parser::AST::UserDefinedLiteral::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UserDefinedLiteral((::CppSharp::CppParser::AST::UserDefinedLiteral*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UserDefinedLiteral((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*) native.ToPointer()); } -CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(::CppSharp::CppParser::AST::UserDefinedLiteral* native, bool ownNativeInstance) +CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(struct ::CppSharp::CppParser::AST::UserDefinedLiteral* native, bool ownNativeInstance) : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::UserDefinedLiteral^ CppSharp::Parser::AST::UserDefinedLiteral::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UserDefinedLiteral((::CppSharp::CppParser::AST::UserDefinedLiteral*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UserDefinedLiteral((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UserDefinedLiteral::~UserDefinedLiteral() @@ -5736,7 +5737,7 @@ CppSharp::Parser::AST::UserDefinedLiteral::~UserDefinedLiteral() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::UserDefinedLiteral*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::UserDefinedLiteral*) __nativePtr; } } @@ -5744,7 +5745,7 @@ CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral() : CppSharp::Parser::AST::CallExpr((::CppSharp::CppParser::AST::CallExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UserDefinedLiteral(); + NativePtr = new struct ::CppSharp::CppParser::AST::UserDefinedLiteral(); } CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(CppSharp::Parser::AST::UserDefinedLiteral^ _0) @@ -5753,60 +5754,60 @@ CppSharp::Parser::AST::UserDefinedLiteral::UserDefinedLiteral(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UserDefinedLiteral*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UserDefinedLiteral(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UserDefinedLiteral(__arg0); } CppSharp::Parser::AST::UserDefinedLiteral::LiteralOperatorKind CppSharp::Parser::AST::UserDefinedLiteral::literalOperatorKind::get() { - return (CppSharp::Parser::AST::UserDefinedLiteral::LiteralOperatorKind)((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->literalOperatorKind; + return (CppSharp::Parser::AST::UserDefinedLiteral::LiteralOperatorKind)((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->literalOperatorKind; } void CppSharp::Parser::AST::UserDefinedLiteral::literalOperatorKind::set(CppSharp::Parser::AST::UserDefinedLiteral::LiteralOperatorKind value) { - ((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->literalOperatorKind = (::CppSharp::CppParser::AST::UserDefinedLiteral::LiteralOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->literalOperatorKind = (enum ::CppSharp::CppParser::AST::UserDefinedLiteral::LiteralOperatorKind)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::UserDefinedLiteral::CookedLiteral::get() { - return (((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral); + return (((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral); } void CppSharp::Parser::AST::UserDefinedLiteral::CookedLiteral::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->cookedLiteral = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UserDefinedLiteral::UDSuffixLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->uDSuffixLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->uDSuffixLoc); } void CppSharp::Parser::AST::UserDefinedLiteral::UDSuffixLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->uDSuffixLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UserDefinedLiteral*)NativePtr)->uDSuffixLoc = _marshal0; } -CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native) +CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXBoolLiteralExpr^ CppSharp::Parser::AST::CXXBoolLiteralExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXBoolLiteralExpr((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXBoolLiteralExpr((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXBoolLiteralExpr^ CppSharp::Parser::AST::CXXBoolLiteralExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXBoolLiteralExpr((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXBoolLiteralExpr((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXBoolLiteralExpr::~CXXBoolLiteralExpr() @@ -5817,7 +5818,7 @@ CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXBoolLiteralExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr(); } CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(CppSharp::Parser::AST::CXXBoolLiteralExpr^ _0) @@ -5826,50 +5827,50 @@ CppSharp::Parser::AST::CXXBoolLiteralExpr::CXXBoolLiteralExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXBoolLiteralExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr(__arg0); } bool CppSharp::Parser::AST::CXXBoolLiteralExpr::Value::get() { - return ((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->value; } void CppSharp::Parser::AST::CXXBoolLiteralExpr::Value::set(bool value) { - ((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->value = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXBoolLiteralExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->location); } void CppSharp::Parser::AST::CXXBoolLiteralExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr*)NativePtr)->location = _marshal0; } -CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native) +CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXNullPtrLiteralExpr^ CppSharp::Parser::AST::CXXNullPtrLiteralExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXNullPtrLiteralExpr((::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXNullPtrLiteralExpr((struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXNullPtrLiteralExpr^ CppSharp::Parser::AST::CXXNullPtrLiteralExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXNullPtrLiteralExpr((::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXNullPtrLiteralExpr((struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXNullPtrLiteralExpr::~CXXNullPtrLiteralExpr() @@ -5880,7 +5881,7 @@ CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr(); } CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(CppSharp::Parser::AST::CXXNullPtrLiteralExpr^ _0) @@ -5889,40 +5890,40 @@ CppSharp::Parser::AST::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXNullPtrLiteralExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)NativePtr)->location); } void CppSharp::Parser::AST::CXXNullPtrLiteralExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr*)NativePtr)->location = _marshal0; } -CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native) +CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXStdInitializerListExpr^ CppSharp::Parser::AST::CXXStdInitializerListExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXStdInitializerListExpr((::CppSharp::CppParser::AST::CXXStdInitializerListExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXStdInitializerListExpr((struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXStdInitializerListExpr^ CppSharp::Parser::AST::CXXStdInitializerListExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXStdInitializerListExpr((::CppSharp::CppParser::AST::CXXStdInitializerListExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXStdInitializerListExpr((struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXStdInitializerListExpr::~CXXStdInitializerListExpr() @@ -5933,7 +5934,7 @@ CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXStdInitializerListExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr(); } CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(CppSharp::Parser::AST::CXXStdInitializerListExpr^ _0) @@ -5942,38 +5943,38 @@ CppSharp::Parser::AST::CXXStdInitializerListExpr::CXXStdInitializerListExpr(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXStdInitializerListExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXStdInitializerListExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::CXXStdInitializerListExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(::CppSharp::CppParser::AST::CXXTypeidExpr* native) +CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(struct ::CppSharp::CppParser::AST::CXXTypeidExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXTypeidExpr^ CppSharp::Parser::AST::CXXTypeidExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXTypeidExpr((::CppSharp::CppParser::AST::CXXTypeidExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXTypeidExpr((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(::CppSharp::CppParser::AST::CXXTypeidExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(struct ::CppSharp::CppParser::AST::CXXTypeidExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXTypeidExpr^ CppSharp::Parser::AST::CXXTypeidExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXTypeidExpr((::CppSharp::CppParser::AST::CXXTypeidExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXTypeidExpr((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXTypeidExpr::~CXXTypeidExpr() @@ -5984,7 +5985,7 @@ CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXTypeidExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTypeidExpr(); } CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(CppSharp::Parser::AST::CXXTypeidExpr^ _0) @@ -5993,58 +5994,58 @@ CppSharp::Parser::AST::CXXTypeidExpr::CXXTypeidExpr(CppSharp::Parser::AST::CXXTy __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXTypeidExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXTypeidExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTypeidExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXTypeidExpr::ExprOperand::get() { - return (((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand); + return (((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand); } void CppSharp::Parser::AST::CXXTypeidExpr::ExprOperand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->exprOperand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CXXTypeidExpr::IsPotentiallyEvaluated::get() { - return ((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isPotentiallyEvaluated; + return ((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isPotentiallyEvaluated; } void CppSharp::Parser::AST::CXXTypeidExpr::IsPotentiallyEvaluated::set(bool value) { - ((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isPotentiallyEvaluated = value; + ((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isPotentiallyEvaluated = value; } bool CppSharp::Parser::AST::CXXTypeidExpr::IsTypeOperand::get() { - return ((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isTypeOperand; + return ((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isTypeOperand; } void CppSharp::Parser::AST::CXXTypeidExpr::IsTypeOperand::set(bool value) { - ((::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isTypeOperand = value; + ((struct ::CppSharp::CppParser::AST::CXXTypeidExpr*)NativePtr)->isTypeOperand = value; } -CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(::CppSharp::CppParser::AST::MSPropertyRefExpr* native) +CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(struct ::CppSharp::CppParser::AST::MSPropertyRefExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::MSPropertyRefExpr^ CppSharp::Parser::AST::MSPropertyRefExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MSPropertyRefExpr((::CppSharp::CppParser::AST::MSPropertyRefExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MSPropertyRefExpr((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*) native.ToPointer()); } -CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(::CppSharp::CppParser::AST::MSPropertyRefExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(struct ::CppSharp::CppParser::AST::MSPropertyRefExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::MSPropertyRefExpr^ CppSharp::Parser::AST::MSPropertyRefExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MSPropertyRefExpr((::CppSharp::CppParser::AST::MSPropertyRefExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MSPropertyRefExpr((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MSPropertyRefExpr::~MSPropertyRefExpr() @@ -6055,7 +6056,7 @@ CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MSPropertyRefExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::MSPropertyRefExpr(); } CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(CppSharp::Parser::AST::MSPropertyRefExpr^ _0) @@ -6064,70 +6065,70 @@ CppSharp::Parser::AST::MSPropertyRefExpr::MSPropertyRefExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MSPropertyRefExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MSPropertyRefExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MSPropertyRefExpr(__arg0); } bool CppSharp::Parser::AST::MSPropertyRefExpr::IsImplicitAccess::get() { - return ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isImplicitAccess; + return ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isImplicitAccess; } void CppSharp::Parser::AST::MSPropertyRefExpr::IsImplicitAccess::set(bool value) { - ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isImplicitAccess = value; + ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isImplicitAccess = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::MSPropertyRefExpr::BaseExpr::get() { - return (((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr); + return (((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr); } void CppSharp::Parser::AST::MSPropertyRefExpr::BaseExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->baseExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::MSPropertyRefExpr::IsArrow::get() { - return ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isArrow; + return ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isArrow; } void CppSharp::Parser::AST::MSPropertyRefExpr::IsArrow::set(bool value) { - ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isArrow = value; + ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->isArrow = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MSPropertyRefExpr::MemberLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->memberLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->memberLoc); } void CppSharp::Parser::AST::MSPropertyRefExpr::MemberLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->memberLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MSPropertyRefExpr*)NativePtr)->memberLoc = _marshal0; } -CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native) +CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::MSPropertySubscriptExpr^ CppSharp::Parser::AST::MSPropertySubscriptExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MSPropertySubscriptExpr((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MSPropertySubscriptExpr((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*) native.ToPointer()); } -CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::MSPropertySubscriptExpr^ CppSharp::Parser::AST::MSPropertySubscriptExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MSPropertySubscriptExpr((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MSPropertySubscriptExpr((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MSPropertySubscriptExpr::~MSPropertySubscriptExpr() @@ -6138,7 +6139,7 @@ CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MSPropertySubscriptExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr(); } CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(CppSharp::Parser::AST::MSPropertySubscriptExpr^ _0) @@ -6147,60 +6148,60 @@ CppSharp::Parser::AST::MSPropertySubscriptExpr::MSPropertySubscriptExpr(CppSharp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MSPropertySubscriptExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MSPropertySubscriptExpr::RBracketLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->rBracketLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->rBracketLoc); } void CppSharp::Parser::AST::MSPropertySubscriptExpr::RBracketLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->rBracketLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->rBracketLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::MSPropertySubscriptExpr::Base::get() { - return (((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base); } void CppSharp::Parser::AST::MSPropertySubscriptExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::MSPropertySubscriptExpr::Idx::get() { - return (((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx); + return (((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx); } void CppSharp::Parser::AST::MSPropertySubscriptExpr::Idx::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr*)NativePtr)->idx = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(::CppSharp::CppParser::AST::CXXUuidofExpr* native) +CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(struct ::CppSharp::CppParser::AST::CXXUuidofExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXUuidofExpr^ CppSharp::Parser::AST::CXXUuidofExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXUuidofExpr((::CppSharp::CppParser::AST::CXXUuidofExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXUuidofExpr((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(::CppSharp::CppParser::AST::CXXUuidofExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(struct ::CppSharp::CppParser::AST::CXXUuidofExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXUuidofExpr^ CppSharp::Parser::AST::CXXUuidofExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXUuidofExpr((::CppSharp::CppParser::AST::CXXUuidofExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXUuidofExpr((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXUuidofExpr::~CXXUuidofExpr() @@ -6209,7 +6210,7 @@ CppSharp::Parser::AST::CXXUuidofExpr::~CXXUuidofExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXUuidofExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXUuidofExpr*) __nativePtr; } } @@ -6217,7 +6218,7 @@ CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXUuidofExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXUuidofExpr(); } CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(CppSharp::Parser::AST::CXXUuidofExpr^ _0) @@ -6226,58 +6227,58 @@ CppSharp::Parser::AST::CXXUuidofExpr::CXXUuidofExpr(CppSharp::Parser::AST::CXXUu __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXUuidofExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXUuidofExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXUuidofExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXUuidofExpr::ExprOperand::get() { - return (((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand); + return (((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand); } void CppSharp::Parser::AST::CXXUuidofExpr::ExprOperand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->exprOperand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::CXXUuidofExpr::UuidStr::get() +::System::String^ CppSharp::Parser::AST::CXXUuidofExpr::UuidStr::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->uuidStr); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->uuidStr); } -void CppSharp::Parser::AST::CXXUuidofExpr::UuidStr::set(System::String^ value) +void CppSharp::Parser::AST::CXXUuidofExpr::UuidStr::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->uuidStr = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->uuidStr = clix::marshalString(value); } bool CppSharp::Parser::AST::CXXUuidofExpr::IsTypeOperand::get() { - return ((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->isTypeOperand; + return ((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->isTypeOperand; } void CppSharp::Parser::AST::CXXUuidofExpr::IsTypeOperand::set(bool value) { - ((::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->isTypeOperand = value; + ((struct ::CppSharp::CppParser::AST::CXXUuidofExpr*)NativePtr)->isTypeOperand = value; } -CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(::CppSharp::CppParser::AST::CXXThisExpr* native) +CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(struct ::CppSharp::CppParser::AST::CXXThisExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXThisExpr^ CppSharp::Parser::AST::CXXThisExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXThisExpr((::CppSharp::CppParser::AST::CXXThisExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXThisExpr((struct ::CppSharp::CppParser::AST::CXXThisExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(::CppSharp::CppParser::AST::CXXThisExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(struct ::CppSharp::CppParser::AST::CXXThisExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXThisExpr^ CppSharp::Parser::AST::CXXThisExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXThisExpr((::CppSharp::CppParser::AST::CXXThisExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXThisExpr((struct ::CppSharp::CppParser::AST::CXXThisExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXThisExpr::~CXXThisExpr() @@ -6288,7 +6289,7 @@ CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXThisExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXThisExpr(); } CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(CppSharp::Parser::AST::CXXThisExpr^ _0) @@ -6297,50 +6298,50 @@ CppSharp::Parser::AST::CXXThisExpr::CXXThisExpr(CppSharp::Parser::AST::CXXThisEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXThisExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXThisExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXThisExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXThisExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXThisExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->location); } void CppSharp::Parser::AST::CXXThisExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->location = _marshal0; } bool CppSharp::Parser::AST::CXXThisExpr::Implicit::get() { - return ((::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->implicit; + return ((struct ::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->implicit; } void CppSharp::Parser::AST::CXXThisExpr::Implicit::set(bool value) { - ((::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->implicit = value; + ((struct ::CppSharp::CppParser::AST::CXXThisExpr*)NativePtr)->implicit = value; } -CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(::CppSharp::CppParser::AST::CXXThrowExpr* native) +CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(struct ::CppSharp::CppParser::AST::CXXThrowExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXThrowExpr^ CppSharp::Parser::AST::CXXThrowExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXThrowExpr((::CppSharp::CppParser::AST::CXXThrowExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXThrowExpr((struct ::CppSharp::CppParser::AST::CXXThrowExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(::CppSharp::CppParser::AST::CXXThrowExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(struct ::CppSharp::CppParser::AST::CXXThrowExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXThrowExpr^ CppSharp::Parser::AST::CXXThrowExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXThrowExpr((::CppSharp::CppParser::AST::CXXThrowExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXThrowExpr((struct ::CppSharp::CppParser::AST::CXXThrowExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXThrowExpr::~CXXThrowExpr() @@ -6351,7 +6352,7 @@ CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXThrowExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXThrowExpr(); } CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(CppSharp::Parser::AST::CXXThrowExpr^ _0) @@ -6360,60 +6361,60 @@ CppSharp::Parser::AST::CXXThrowExpr::CXXThrowExpr(CppSharp::Parser::AST::CXXThro __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXThrowExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXThrowExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXThrowExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXThrowExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXThrowExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::CXXThrowExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXThrowExpr::ThrowLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->throwLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->throwLoc); } void CppSharp::Parser::AST::CXXThrowExpr::ThrowLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->throwLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->throwLoc = _marshal0; } bool CppSharp::Parser::AST::CXXThrowExpr::IsThrownVariableInScope::get() { - return ((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->isThrownVariableInScope; + return ((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->isThrownVariableInScope; } void CppSharp::Parser::AST::CXXThrowExpr::IsThrownVariableInScope::set(bool value) { - ((::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->isThrownVariableInScope = value; + ((struct ::CppSharp::CppParser::AST::CXXThrowExpr*)NativePtr)->isThrownVariableInScope = value; } -CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(::CppSharp::CppParser::AST::CXXDefaultArgExpr* native) +CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXDefaultArgExpr^ CppSharp::Parser::AST::CXXDefaultArgExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXDefaultArgExpr((::CppSharp::CppParser::AST::CXXDefaultArgExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXDefaultArgExpr((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(::CppSharp::CppParser::AST::CXXDefaultArgExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXDefaultArgExpr^ CppSharp::Parser::AST::CXXDefaultArgExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXDefaultArgExpr((::CppSharp::CppParser::AST::CXXDefaultArgExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXDefaultArgExpr((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXDefaultArgExpr::~CXXDefaultArgExpr() @@ -6424,7 +6425,7 @@ CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXDefaultArgExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr(); } CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(CppSharp::Parser::AST::CXXDefaultArgExpr^ _0) @@ -6433,50 +6434,50 @@ CppSharp::Parser::AST::CXXDefaultArgExpr::CXXDefaultArgExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXDefaultArgExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXDefaultArgExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXDefaultArgExpr::Expr::get() { - return (((::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr); + return (((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr); } void CppSharp::Parser::AST::CXXDefaultArgExpr::Expr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->expr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDefaultArgExpr::UsedLocation::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->usedLocation); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->usedLocation); } void CppSharp::Parser::AST::CXXDefaultArgExpr::UsedLocation::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->usedLocation = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr*)NativePtr)->usedLocation = _marshal0; } -CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(::CppSharp::CppParser::AST::CXXDefaultInitExpr* native) +CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXDefaultInitExpr^ CppSharp::Parser::AST::CXXDefaultInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXDefaultInitExpr((::CppSharp::CppParser::AST::CXXDefaultInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXDefaultInitExpr((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(::CppSharp::CppParser::AST::CXXDefaultInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXDefaultInitExpr^ CppSharp::Parser::AST::CXXDefaultInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXDefaultInitExpr((::CppSharp::CppParser::AST::CXXDefaultInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXDefaultInitExpr((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXDefaultInitExpr::~CXXDefaultInitExpr() @@ -6487,7 +6488,7 @@ CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXDefaultInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr(); } CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(CppSharp::Parser::AST::CXXDefaultInitExpr^ _0) @@ -6496,48 +6497,48 @@ CppSharp::Parser::AST::CXXDefaultInitExpr::CXXDefaultInitExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXDefaultInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXDefaultInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr(__arg0); } CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::CXXDefaultInitExpr::Field::get() { - return (((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((::CppSharp::CppParser::AST::Field*)((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field); + return (((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Field((struct ::CppSharp::CppParser::AST::Field*)((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field); } void CppSharp::Parser::AST::CXXDefaultInitExpr::Field::set(CppSharp::Parser::AST::Field^ value) { - ((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field = (::CppSharp::CppParser::AST::Field*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->field = (struct ::CppSharp::CppParser::AST::Field*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXDefaultInitExpr::Expr::get() { - return (((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr); + return (((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr); } void CppSharp::Parser::AST::CXXDefaultInitExpr::Expr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr*)NativePtr)->expr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native) +CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXBindTemporaryExpr^ CppSharp::Parser::AST::CXXBindTemporaryExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXBindTemporaryExpr((::CppSharp::CppParser::AST::CXXBindTemporaryExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXBindTemporaryExpr((struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXBindTemporaryExpr^ CppSharp::Parser::AST::CXXBindTemporaryExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXBindTemporaryExpr((::CppSharp::CppParser::AST::CXXBindTemporaryExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXBindTemporaryExpr((struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXBindTemporaryExpr::~CXXBindTemporaryExpr() @@ -6548,7 +6549,7 @@ CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXBindTemporaryExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr(); } CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(CppSharp::Parser::AST::CXXBindTemporaryExpr^ _0) @@ -6557,38 +6558,38 @@ CppSharp::Parser::AST::CXXBindTemporaryExpr::CXXBindTemporaryExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXBindTemporaryExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXBindTemporaryExpr::SubExpr::get() { - return (((::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr); + return (((struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr); } void CppSharp::Parser::AST::CXXBindTemporaryExpr::SubExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr*)NativePtr)->subExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(::CppSharp::CppParser::AST::CXXConstructExpr* native) +CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(struct ::CppSharp::CppParser::AST::CXXConstructExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXConstructExpr^ CppSharp::Parser::AST::CXXConstructExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXConstructExpr((struct ::CppSharp::CppParser::AST::CXXConstructExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(::CppSharp::CppParser::AST::CXXConstructExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(struct ::CppSharp::CppParser::AST::CXXConstructExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXConstructExpr^ CppSharp::Parser::AST::CXXConstructExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXConstructExpr((struct ::CppSharp::CppParser::AST::CXXConstructExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXConstructExpr::~CXXConstructExpr() @@ -6597,7 +6598,7 @@ CppSharp::Parser::AST::CXXConstructExpr::~CXXConstructExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXConstructExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXConstructExpr*) __nativePtr; } } @@ -6605,35 +6606,35 @@ CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstructExpr(); } CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstructExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXConstructExpr::Getarguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getarguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getarguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::CXXConstructExpr::Addarguments(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->addarguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->addarguments(__arg0); } void CppSharp::Parser::AST::CXXConstructExpr::Cleararguments() { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->cleararguments(); + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->cleararguments(); } CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(CppSharp::Parser::AST::CXXConstructExpr^ _0) @@ -6642,148 +6643,149 @@ CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXConstructExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXConstructExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXConstructExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXConstructExpr(__arg0); } CppSharp::Parser::AST::CXXConstructExpr::operator CppSharp::Parser::AST::CXXConstructExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::CXXConstructExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::CXXConstructExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::CXXConstructExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXConstructExpr((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)____ret, true); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CXXConstructExpr::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CXXConstructExpr::Arguments::get() { - auto _tmp__arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->arguments) + auto _tmp__arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__arguments->Add(_marshalElement); } return _tmp__arguments; } -void CppSharp::Parser::AST::CXXConstructExpr::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CXXConstructExpr::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->arguments = _tmpvalue; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXConstructExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->location); } void CppSharp::Parser::AST::CXXConstructExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->location = _marshal0; } bool CppSharp::Parser::AST::CXXConstructExpr::Elidable::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->elidable; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->elidable; } void CppSharp::Parser::AST::CXXConstructExpr::Elidable::set(bool value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->elidable = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->elidable = value; } bool CppSharp::Parser::AST::CXXConstructExpr::HadMultipleCandidates::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->hadMultipleCandidates; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->hadMultipleCandidates; } void CppSharp::Parser::AST::CXXConstructExpr::HadMultipleCandidates::set(bool value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->hadMultipleCandidates = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->hadMultipleCandidates = value; } bool CppSharp::Parser::AST::CXXConstructExpr::ListInitialization::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->listInitialization; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->listInitialization; } void CppSharp::Parser::AST::CXXConstructExpr::ListInitialization::set(bool value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->listInitialization = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->listInitialization = value; } bool CppSharp::Parser::AST::CXXConstructExpr::StdInitListInitialization::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->stdInitListInitialization; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->stdInitListInitialization; } void CppSharp::Parser::AST::CXXConstructExpr::StdInitListInitialization::set(bool value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->stdInitListInitialization = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->stdInitListInitialization = value; } bool CppSharp::Parser::AST::CXXConstructExpr::RequiresZeroInitialization::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->requiresZeroInitialization; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->requiresZeroInitialization; } void CppSharp::Parser::AST::CXXConstructExpr::RequiresZeroInitialization::set(bool value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->requiresZeroInitialization = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->requiresZeroInitialization = value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::CXXConstructExpr::ParenOrBraceRange::get() { - return (&((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange); + return (&((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange); } void CppSharp::Parser::AST::CXXConstructExpr::ParenOrBraceRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->parenOrBraceRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CXXConstructExpr::NumArgs::get() { - return ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->numArgs; + return ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->numArgs; } void CppSharp::Parser::AST::CXXConstructExpr::NumArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->numArgs = value; + ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->numArgs = value; } unsigned int CppSharp::Parser::AST::CXXConstructExpr::GetargumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getargumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->getargumentsCount(); return __ret; } -CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native) +CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXInheritedCtorInitExpr^ CppSharp::Parser::AST::CXXInheritedCtorInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXInheritedCtorInitExpr((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXInheritedCtorInitExpr((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXInheritedCtorInitExpr^ CppSharp::Parser::AST::CXXInheritedCtorInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXInheritedCtorInitExpr((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXInheritedCtorInitExpr((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXInheritedCtorInitExpr::~CXXInheritedCtorInitExpr() @@ -6794,7 +6796,7 @@ CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr(); } CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(CppSharp::Parser::AST::CXXInheritedCtorInitExpr^ _0) @@ -6803,60 +6805,60 @@ CppSharp::Parser::AST::CXXInheritedCtorInitExpr::CXXInheritedCtorInitExpr(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr(__arg0); } bool CppSharp::Parser::AST::CXXInheritedCtorInitExpr::ConstructsVBase::get() { - return ((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->constructsVBase; + return ((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->constructsVBase; } void CppSharp::Parser::AST::CXXInheritedCtorInitExpr::ConstructsVBase::set(bool value) { - ((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->constructsVBase = value; + ((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->constructsVBase = value; } bool CppSharp::Parser::AST::CXXInheritedCtorInitExpr::InheritedFromVBase::get() { - return ((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->inheritedFromVBase; + return ((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->inheritedFromVBase; } void CppSharp::Parser::AST::CXXInheritedCtorInitExpr::InheritedFromVBase::set(bool value) { - ((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->inheritedFromVBase = value; + ((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->inheritedFromVBase = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXInheritedCtorInitExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->location); } void CppSharp::Parser::AST::CXXInheritedCtorInitExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr*)NativePtr)->location = _marshal0; } -CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native) +CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native) { } CppSharp::Parser::AST::CXXFunctionalCastExpr^ CppSharp::Parser::AST::CXXFunctionalCastExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXFunctionalCastExpr((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXFunctionalCastExpr((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXFunctionalCastExpr^ CppSharp::Parser::AST::CXXFunctionalCastExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXFunctionalCastExpr((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXFunctionalCastExpr((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXFunctionalCastExpr::~CXXFunctionalCastExpr() @@ -6867,7 +6869,7 @@ CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr() : CppSharp::Parser::AST::ExplicitCastExpr((::CppSharp::CppParser::AST::ExplicitCastExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXFunctionalCastExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr(); } CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(CppSharp::Parser::AST::CXXFunctionalCastExpr^ _0) @@ -6876,62 +6878,62 @@ CppSharp::Parser::AST::CXXFunctionalCastExpr::CXXFunctionalCastExpr(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXFunctionalCastExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXFunctionalCastExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::CXXFunctionalCastExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXFunctionalCastExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CXXFunctionalCastExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->rParenLoc = _marshal0; } bool CppSharp::Parser::AST::CXXFunctionalCastExpr::IsListInitialization::get() { - return ((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->isListInitialization; + return ((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->isListInitialization; } void CppSharp::Parser::AST::CXXFunctionalCastExpr::IsListInitialization::set(bool value) { - ((::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->isListInitialization = value; + ((struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr*)NativePtr)->isListInitialization = value; } -CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native) +CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native) : CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*)native) { } CppSharp::Parser::AST::CXXTemporaryObjectExpr^ CppSharp::Parser::AST::CXXTemporaryObjectExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXTemporaryObjectExpr((::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXTemporaryObjectExpr((struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXTemporaryObjectExpr^ CppSharp::Parser::AST::CXXTemporaryObjectExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXTemporaryObjectExpr((::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXTemporaryObjectExpr((struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXTemporaryObjectExpr::~CXXTemporaryObjectExpr() @@ -6940,7 +6942,7 @@ CppSharp::Parser::AST::CXXTemporaryObjectExpr::~CXXTemporaryObjectExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*) __nativePtr; } } @@ -6948,7 +6950,7 @@ CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr() : CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr(); } CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(CppSharp::Parser::AST::CXXTemporaryObjectExpr^ _0) @@ -6957,28 +6959,28 @@ CppSharp::Parser::AST::CXXTemporaryObjectExpr::CXXTemporaryObjectExpr(CppSharp:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr(__arg0); } -CppSharp::Parser::AST::LambdaExpr::LambdaExpr(::CppSharp::CppParser::AST::LambdaExpr* native) +CppSharp::Parser::AST::LambdaExpr::LambdaExpr(struct ::CppSharp::CppParser::AST::LambdaExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::LambdaExpr^ CppSharp::Parser::AST::LambdaExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::LambdaExpr((::CppSharp::CppParser::AST::LambdaExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::LambdaExpr((struct ::CppSharp::CppParser::AST::LambdaExpr*) native.ToPointer()); } -CppSharp::Parser::AST::LambdaExpr::LambdaExpr(::CppSharp::CppParser::AST::LambdaExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::LambdaExpr::LambdaExpr(struct ::CppSharp::CppParser::AST::LambdaExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::LambdaExpr^ CppSharp::Parser::AST::LambdaExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::LambdaExpr((::CppSharp::CppParser::AST::LambdaExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::LambdaExpr((struct ::CppSharp::CppParser::AST::LambdaExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::LambdaExpr::~LambdaExpr() @@ -6987,7 +6989,7 @@ CppSharp::Parser::AST::LambdaExpr::~LambdaExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::LambdaExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::LambdaExpr*) __nativePtr; } } @@ -6995,27 +6997,27 @@ CppSharp::Parser::AST::LambdaExpr::LambdaExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::LambdaExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::LambdaExpr(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::LambdaExpr::GetcaptureInits(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->getcapture_inits(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->getcapture_inits(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::LambdaExpr::AddcaptureInits(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->addcapture_inits(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->addcapture_inits(__arg0); } void CppSharp::Parser::AST::LambdaExpr::ClearcaptureInits() { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->clearcapture_inits(); + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->clearcapture_inits(); } CppSharp::Parser::AST::LambdaExpr::LambdaExpr(CppSharp::Parser::AST::LambdaExpr^ _0) @@ -7024,150 +7026,151 @@ CppSharp::Parser::AST::LambdaExpr::LambdaExpr(CppSharp::Parser::AST::LambdaExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LambdaExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::LambdaExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LambdaExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::LambdaExpr(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::LambdaExpr::CaptureInits::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::LambdaExpr::CaptureInits::get() { - auto _tmp__capture_inits = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_inits) + auto _tmp__capture_inits = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_inits; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__capture_inits->Add(_marshalElement); } return _tmp__capture_inits; } -void CppSharp::Parser::AST::LambdaExpr::CaptureInits::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::LambdaExpr::CaptureInits::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_inits = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_inits = _tmpvalue; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::LambdaExpr::CaptureDefaultLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->captureDefaultLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->captureDefaultLoc); } void CppSharp::Parser::AST::LambdaExpr::CaptureDefaultLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->captureDefaultLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->captureDefaultLoc = _marshal0; } unsigned int CppSharp::Parser::AST::LambdaExpr::CaptureSize::get() { - return ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_size; + return ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_size; } void CppSharp::Parser::AST::LambdaExpr::CaptureSize::set(unsigned int value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_size = value; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->capture_size = value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::LambdaExpr::IntroducerRange::get() { - return (&((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange); + return (&((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange); } void CppSharp::Parser::AST::LambdaExpr::IntroducerRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->introducerRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::LambdaExpr::CallOperator::get() { - return (((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((::CppSharp::CppParser::AST::Method*)((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator); + return (((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Method((struct ::CppSharp::CppParser::AST::Method*)((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator); } void CppSharp::Parser::AST::LambdaExpr::CallOperator::set(CppSharp::Parser::AST::Method^ value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator = (::CppSharp::CppParser::AST::Method*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->callOperator = (struct ::CppSharp::CppParser::AST::Method*)value->NativePtr; } bool CppSharp::Parser::AST::LambdaExpr::IsGenericLambda::get() { - return ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isGenericLambda; + return ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isGenericLambda; } void CppSharp::Parser::AST::LambdaExpr::IsGenericLambda::set(bool value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isGenericLambda = value; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isGenericLambda = value; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::LambdaExpr::Body::get() { - return (((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body); } void CppSharp::Parser::AST::LambdaExpr::Body::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } bool CppSharp::Parser::AST::LambdaExpr::IsMutable::get() { - return ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isMutable; + return ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isMutable; } void CppSharp::Parser::AST::LambdaExpr::IsMutable::set(bool value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isMutable = value; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->isMutable = value; } bool CppSharp::Parser::AST::LambdaExpr::HasExplicitParameters::get() { - return ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitParameters; + return ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitParameters; } void CppSharp::Parser::AST::LambdaExpr::HasExplicitParameters::set(bool value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitParameters = value; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitParameters = value; } bool CppSharp::Parser::AST::LambdaExpr::HasExplicitResultType::get() { - return ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitResultType; + return ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitResultType; } void CppSharp::Parser::AST::LambdaExpr::HasExplicitResultType::set(bool value) { - ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitResultType = value; + ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->hasExplicitResultType = value; } unsigned int CppSharp::Parser::AST::LambdaExpr::GetcaptureInitsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->getcapture_initsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::LambdaExpr*)NativePtr)->getcapture_initsCount(); return __ret; } -CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native) +CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXScalarValueInitExpr^ CppSharp::Parser::AST::CXXScalarValueInitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXScalarValueInitExpr((::CppSharp::CppParser::AST::CXXScalarValueInitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXScalarValueInitExpr((struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXScalarValueInitExpr^ CppSharp::Parser::AST::CXXScalarValueInitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXScalarValueInitExpr((::CppSharp::CppParser::AST::CXXScalarValueInitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXScalarValueInitExpr((struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXScalarValueInitExpr::~CXXScalarValueInitExpr() @@ -7178,7 +7181,7 @@ CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXScalarValueInitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr(); } CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(CppSharp::Parser::AST::CXXScalarValueInitExpr^ _0) @@ -7187,40 +7190,40 @@ CppSharp::Parser::AST::CXXScalarValueInitExpr::CXXScalarValueInitExpr(CppSharp:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXScalarValueInitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXScalarValueInitExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CXXScalarValueInitExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(::CppSharp::CppParser::AST::CXXNewExpr* native) +CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(struct ::CppSharp::CppParser::AST::CXXNewExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXNewExpr^ CppSharp::Parser::AST::CXXNewExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXNewExpr((::CppSharp::CppParser::AST::CXXNewExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXNewExpr((struct ::CppSharp::CppParser::AST::CXXNewExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(::CppSharp::CppParser::AST::CXXNewExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(struct ::CppSharp::CppParser::AST::CXXNewExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXNewExpr^ CppSharp::Parser::AST::CXXNewExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXNewExpr((::CppSharp::CppParser::AST::CXXNewExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXNewExpr((struct ::CppSharp::CppParser::AST::CXXNewExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXNewExpr::~CXXNewExpr() @@ -7229,7 +7232,7 @@ CppSharp::Parser::AST::CXXNewExpr::~CXXNewExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXNewExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXNewExpr*) __nativePtr; } } @@ -7237,27 +7240,27 @@ CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXNewExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNewExpr(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXNewExpr::GetplacementArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->getplacement_arguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->getplacement_arguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::CXXNewExpr::AddplacementArguments(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->addplacement_arguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->addplacement_arguments(__arg0); } void CppSharp::Parser::AST::CXXNewExpr::ClearplacementArguments() { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->clearplacement_arguments(); + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->clearplacement_arguments(); } CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(CppSharp::Parser::AST::CXXNewExpr^ _0) @@ -7266,202 +7269,203 @@ CppSharp::Parser::AST::CXXNewExpr::CXXNewExpr(CppSharp::Parser::AST::CXXNewExpr^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXNewExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXNewExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXNewExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNewExpr(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CXXNewExpr::PlacementArguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CXXNewExpr::PlacementArguments::get() { - auto _tmp__placement_arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->placement_arguments) + auto _tmp__placement_arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->placement_arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__placement_arguments->Add(_marshalElement); } return _tmp__placement_arguments; } -void CppSharp::Parser::AST::CXXNewExpr::PlacementArguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CXXNewExpr::PlacementArguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->placement_arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->placement_arguments = _tmpvalue; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::CXXNewExpr::OperatorNew::get() { - return (((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew); + return (((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew); } void CppSharp::Parser::AST::CXXNewExpr::OperatorNew::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorNew = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::CXXNewExpr::OperatorDelete::get() { - return (((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete); + return (((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete); } void CppSharp::Parser::AST::CXXNewExpr::OperatorDelete::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->operatorDelete = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXNewExpr::AllocatedType::get() { - return (&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType); + return (&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType); } void CppSharp::Parser::AST::CXXNewExpr::AllocatedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->allocatedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::CXXNewExpr::IsArray::get() { - return ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isArray; + return ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isArray; } void CppSharp::Parser::AST::CXXNewExpr::IsArray::set(bool value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isArray = value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isArray = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXNewExpr::ArraySize::get() { - return (((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize); + return (((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize); } void CppSharp::Parser::AST::CXXNewExpr::ArraySize::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->arraySize = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CXXNewExpr::NumPlacementArgs::get() { - return ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->numPlacementArgs; + return ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->numPlacementArgs; } void CppSharp::Parser::AST::CXXNewExpr::NumPlacementArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->numPlacementArgs = value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->numPlacementArgs = value; } bool CppSharp::Parser::AST::CXXNewExpr::IsParenTypeId::get() { - return ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isParenTypeId; + return ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isParenTypeId; } void CppSharp::Parser::AST::CXXNewExpr::IsParenTypeId::set(bool value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isParenTypeId = value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isParenTypeId = value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::CXXNewExpr::TypeIdParens::get() { - return (&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens); + return (&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens); } void CppSharp::Parser::AST::CXXNewExpr::TypeIdParens::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->typeIdParens = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } bool CppSharp::Parser::AST::CXXNewExpr::IsGlobalNew::get() { - return ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isGlobalNew; + return ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isGlobalNew; } void CppSharp::Parser::AST::CXXNewExpr::IsGlobalNew::set(bool value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isGlobalNew = value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->isGlobalNew = value; } bool CppSharp::Parser::AST::CXXNewExpr::HasInitializer::get() { - return ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->hasInitializer; + return ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->hasInitializer; } void CppSharp::Parser::AST::CXXNewExpr::HasInitializer::set(bool value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->hasInitializer = value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->hasInitializer = value; } CppSharp::Parser::AST::CXXNewExpr::InitializationStyle CppSharp::Parser::AST::CXXNewExpr::initializationStyle::get() { - return (CppSharp::Parser::AST::CXXNewExpr::InitializationStyle)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializationStyle; + return (CppSharp::Parser::AST::CXXNewExpr::InitializationStyle)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializationStyle; } void CppSharp::Parser::AST::CXXNewExpr::initializationStyle::set(CppSharp::Parser::AST::CXXNewExpr::InitializationStyle value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializationStyle = (::CppSharp::CppParser::AST::CXXNewExpr::InitializationStyle)value; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializationStyle = (enum ::CppSharp::CppParser::AST::CXXNewExpr::InitializationStyle)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXNewExpr::Initializer::get() { - return (((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer); + return (((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer); } void CppSharp::Parser::AST::CXXNewExpr::Initializer::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->initializer = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::CXXConstructExpr^ CppSharp::Parser::AST::CXXNewExpr::ConstructExpr::get() { - return (((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXConstructExpr((::CppSharp::CppParser::AST::CXXConstructExpr*)((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr); + return (((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CXXConstructExpr((struct ::CppSharp::CppParser::AST::CXXConstructExpr*)((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr); } void CppSharp::Parser::AST::CXXNewExpr::ConstructExpr::set(CppSharp::Parser::AST::CXXConstructExpr^ value) { - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr = (::CppSharp::CppParser::AST::CXXConstructExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->constructExpr = (struct ::CppSharp::CppParser::AST::CXXConstructExpr*)value->NativePtr; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::CXXNewExpr::DirectInitRange::get() { - return (&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange); + return (&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange); } void CppSharp::Parser::AST::CXXNewExpr::DirectInitRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->directInitRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CXXNewExpr::GetplacementArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->getplacement_argumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXNewExpr*)NativePtr)->getplacement_argumentsCount(); return __ret; } -CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(::CppSharp::CppParser::AST::CXXDeleteExpr* native) +CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(struct ::CppSharp::CppParser::AST::CXXDeleteExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXDeleteExpr^ CppSharp::Parser::AST::CXXDeleteExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXDeleteExpr((::CppSharp::CppParser::AST::CXXDeleteExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXDeleteExpr((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(::CppSharp::CppParser::AST::CXXDeleteExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(struct ::CppSharp::CppParser::AST::CXXDeleteExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXDeleteExpr^ CppSharp::Parser::AST::CXXDeleteExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXDeleteExpr((::CppSharp::CppParser::AST::CXXDeleteExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXDeleteExpr((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXDeleteExpr::~CXXDeleteExpr() @@ -7472,7 +7476,7 @@ CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXDeleteExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDeleteExpr(); } CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(CppSharp::Parser::AST::CXXDeleteExpr^ _0) @@ -7481,90 +7485,90 @@ CppSharp::Parser::AST::CXXDeleteExpr::CXXDeleteExpr(CppSharp::Parser::AST::CXXDe __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXDeleteExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXDeleteExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDeleteExpr(__arg0); } bool CppSharp::Parser::AST::CXXDeleteExpr::IsGlobalDelete::get() { - return ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isGlobalDelete; + return ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isGlobalDelete; } void CppSharp::Parser::AST::CXXDeleteExpr::IsGlobalDelete::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isGlobalDelete = value; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isGlobalDelete = value; } bool CppSharp::Parser::AST::CXXDeleteExpr::IsArrayForm::get() { - return ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayForm; + return ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayForm; } void CppSharp::Parser::AST::CXXDeleteExpr::IsArrayForm::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayForm = value; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayForm = value; } bool CppSharp::Parser::AST::CXXDeleteExpr::IsArrayFormAsWritten::get() { - return ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayFormAsWritten; + return ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayFormAsWritten; } void CppSharp::Parser::AST::CXXDeleteExpr::IsArrayFormAsWritten::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayFormAsWritten = value; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->isArrayFormAsWritten = value; } CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::CXXDeleteExpr::OperatorDelete::get() { - return (((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((::CppSharp::CppParser::AST::Function*)((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete); + return (((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Function((struct ::CppSharp::CppParser::AST::Function*)((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete); } void CppSharp::Parser::AST::CXXDeleteExpr::OperatorDelete::set(CppSharp::Parser::AST::Function^ value) { - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete = (::CppSharp::CppParser::AST::Function*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->operatorDelete = (struct ::CppSharp::CppParser::AST::Function*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXDeleteExpr::Argument::get() { - return (((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument); + return (((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument); } void CppSharp::Parser::AST::CXXDeleteExpr::Argument::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->argument = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXDeleteExpr::DestroyedType::get() { - return (&((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType); + return (&((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType); } void CppSharp::Parser::AST::CXXDeleteExpr::DestroyedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDeleteExpr*)NativePtr)->destroyedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native) +CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXPseudoDestructorExpr^ CppSharp::Parser::AST::CXXPseudoDestructorExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXPseudoDestructorExpr((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXPseudoDestructorExpr((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXPseudoDestructorExpr^ CppSharp::Parser::AST::CXXPseudoDestructorExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXPseudoDestructorExpr((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXPseudoDestructorExpr((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXPseudoDestructorExpr::~CXXPseudoDestructorExpr() @@ -7575,7 +7579,7 @@ CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr(); } CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(CppSharp::Parser::AST::CXXPseudoDestructorExpr^ _0) @@ -7584,118 +7588,118 @@ CppSharp::Parser::AST::CXXPseudoDestructorExpr::CXXPseudoDestructorExpr(CppSharp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXPseudoDestructorExpr::Base::get() { - return (((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CXXPseudoDestructorExpr::HasQualifier::get() { - return ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->hasQualifier; + return ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->hasQualifier; } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::HasQualifier::set(bool value) { - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->hasQualifier = value; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->hasQualifier = value; } bool CppSharp::Parser::AST::CXXPseudoDestructorExpr::IsArrow::get() { - return ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->isArrow; + return ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->isArrow; } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::IsArrow::set(bool value) { - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->isArrow = value; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->isArrow = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXPseudoDestructorExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXPseudoDestructorExpr::ColonColonLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->colonColonLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->colonColonLoc); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::ColonColonLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->colonColonLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->colonColonLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXPseudoDestructorExpr::TildeLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->tildeLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->tildeLoc); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::TildeLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->tildeLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->tildeLoc = _marshal0; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXPseudoDestructorExpr::DestroyedType::get() { - return (&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType); + return (&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::DestroyedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXPseudoDestructorExpr::DestroyedTypeLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedTypeLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedTypeLoc); } void CppSharp::Parser::AST::CXXPseudoDestructorExpr::DestroyedTypeLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedTypeLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr*)NativePtr)->destroyedTypeLoc = _marshal0; } -CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(::CppSharp::CppParser::AST::TypeTraitExpr* native) +CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(struct ::CppSharp::CppParser::AST::TypeTraitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::TypeTraitExpr^ CppSharp::Parser::AST::TypeTraitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypeTraitExpr((::CppSharp::CppParser::AST::TypeTraitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypeTraitExpr((struct ::CppSharp::CppParser::AST::TypeTraitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(::CppSharp::CppParser::AST::TypeTraitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(struct ::CppSharp::CppParser::AST::TypeTraitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypeTraitExpr^ CppSharp::Parser::AST::TypeTraitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypeTraitExpr((::CppSharp::CppParser::AST::TypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypeTraitExpr((struct ::CppSharp::CppParser::AST::TypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypeTraitExpr::~TypeTraitExpr() @@ -7706,7 +7710,7 @@ CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypeTraitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypeTraitExpr(); } CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(CppSharp::Parser::AST::TypeTraitExpr^ _0) @@ -7715,48 +7719,48 @@ CppSharp::Parser::AST::TypeTraitExpr::TypeTraitExpr(CppSharp::Parser::AST::TypeT __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypeTraitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypeTraitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypeTraitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypeTraitExpr(__arg0); } bool CppSharp::Parser::AST::TypeTraitExpr::Value::get() { - return ((::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->value; } void CppSharp::Parser::AST::TypeTraitExpr::Value::set(bool value) { - ((::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->value = value; } unsigned int CppSharp::Parser::AST::TypeTraitExpr::NumArgs::get() { - return ((::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->numArgs; + return ((struct ::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->numArgs; } void CppSharp::Parser::AST::TypeTraitExpr::NumArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->numArgs = value; + ((struct ::CppSharp::CppParser::AST::TypeTraitExpr*)NativePtr)->numArgs = value; } -CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native) +CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ArrayTypeTraitExpr^ CppSharp::Parser::AST::ArrayTypeTraitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ArrayTypeTraitExpr((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ArrayTypeTraitExpr((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ArrayTypeTraitExpr^ CppSharp::Parser::AST::ArrayTypeTraitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ArrayTypeTraitExpr((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ArrayTypeTraitExpr((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ArrayTypeTraitExpr::~ArrayTypeTraitExpr() @@ -7767,7 +7771,7 @@ CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ArrayTypeTraitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr(); } CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(CppSharp::Parser::AST::ArrayTypeTraitExpr^ _0) @@ -7776,60 +7780,60 @@ CppSharp::Parser::AST::ArrayTypeTraitExpr::ArrayTypeTraitExpr(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ArrayTypeTraitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::ArrayTypeTraitExpr::QueriedType::get() { - return (&((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType); + return (&((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType); } void CppSharp::Parser::AST::ArrayTypeTraitExpr::QueriedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->queriedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } unsigned long long CppSharp::Parser::AST::ArrayTypeTraitExpr::Value::get() { - return ((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->value; } void CppSharp::Parser::AST::ArrayTypeTraitExpr::Value::set(unsigned long long value) { - ((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->value = (::uint64_t)value; + ((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->value = (::uint64_t)value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ArrayTypeTraitExpr::DimensionExpression::get() { - return (((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression); + return (((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression); } void CppSharp::Parser::AST::ArrayTypeTraitExpr::DimensionExpression::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr*)NativePtr)->dimensionExpression = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(::CppSharp::CppParser::AST::ExpressionTraitExpr* native) +CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(struct ::CppSharp::CppParser::AST::ExpressionTraitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::ExpressionTraitExpr^ CppSharp::Parser::AST::ExpressionTraitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ExpressionTraitExpr((::CppSharp::CppParser::AST::ExpressionTraitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ExpressionTraitExpr((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(::CppSharp::CppParser::AST::ExpressionTraitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(struct ::CppSharp::CppParser::AST::ExpressionTraitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ExpressionTraitExpr^ CppSharp::Parser::AST::ExpressionTraitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ExpressionTraitExpr((::CppSharp::CppParser::AST::ExpressionTraitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ExpressionTraitExpr((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ExpressionTraitExpr::~ExpressionTraitExpr() @@ -7840,7 +7844,7 @@ CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ExpressionTraitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::ExpressionTraitExpr(); } CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(CppSharp::Parser::AST::ExpressionTraitExpr^ _0) @@ -7849,31 +7853,31 @@ CppSharp::Parser::AST::ExpressionTraitExpr::ExpressionTraitExpr(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ExpressionTraitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExpressionTraitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExpressionTraitExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ExpressionTraitExpr::QueriedExpression::get() { - return (((::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression); + return (((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression); } void CppSharp::Parser::AST::ExpressionTraitExpr::QueriedExpression::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->queriedExpression = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::ExpressionTraitExpr::Value::get() { - return ((::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->value; } void CppSharp::Parser::AST::ExpressionTraitExpr::Value::set(bool value) { - ((::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::ExpressionTraitExpr*)NativePtr)->value = value; } -CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(::CppSharp::CppParser::AST::OverloadExpr::FindResult* native) +CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -7881,10 +7885,10 @@ CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(::CppSharp::CppParse CppSharp::Parser::AST::OverloadExpr::FindResult^ CppSharp::Parser::AST::OverloadExpr::FindResult::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::OverloadExpr::FindResult((::CppSharp::CppParser::AST::OverloadExpr::FindResult*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::OverloadExpr::FindResult((struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult*) native.ToPointer()); } -CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(::CppSharp::CppParser::AST::OverloadExpr::FindResult* native, bool ownNativeInstance) +CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -7892,7 +7896,7 @@ CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(::CppSharp::CppParse CppSharp::Parser::AST::OverloadExpr::FindResult^ CppSharp::Parser::AST::OverloadExpr::FindResult::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::OverloadExpr::FindResult((::CppSharp::CppParser::AST::OverloadExpr::FindResult*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::OverloadExpr::FindResult((struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::OverloadExpr::FindResult::~FindResult() @@ -7903,7 +7907,7 @@ CppSharp::Parser::AST::OverloadExpr::FindResult::~FindResult() CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::OverloadExpr::FindResult(); + NativePtr = new struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult(); } CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(CppSharp::Parser::AST::OverloadExpr::FindResult^ _0) @@ -7911,37 +7915,37 @@ CppSharp::Parser::AST::OverloadExpr::FindResult::FindResult(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::OverloadExpr::FindResult*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::OverloadExpr::FindResult(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult(__arg0); } -System::IntPtr CppSharp::Parser::AST::OverloadExpr::FindResult::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::OverloadExpr::FindResult::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::OverloadExpr::FindResult::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::OverloadExpr::FindResult::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::OverloadExpr::FindResult*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult*)object.ToPointer(); } -CppSharp::Parser::AST::OverloadExpr::OverloadExpr(::CppSharp::CppParser::AST::OverloadExpr* native) +CppSharp::Parser::AST::OverloadExpr::OverloadExpr(struct ::CppSharp::CppParser::AST::OverloadExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::OverloadExpr^ CppSharp::Parser::AST::OverloadExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::OverloadExpr((struct ::CppSharp::CppParser::AST::OverloadExpr*) native.ToPointer()); } -CppSharp::Parser::AST::OverloadExpr::OverloadExpr(::CppSharp::CppParser::AST::OverloadExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::OverloadExpr::OverloadExpr(struct ::CppSharp::CppParser::AST::OverloadExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::OverloadExpr^ CppSharp::Parser::AST::OverloadExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::OverloadExpr((struct ::CppSharp::CppParser::AST::OverloadExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::OverloadExpr::~OverloadExpr() @@ -7952,15 +7956,15 @@ CppSharp::Parser::AST::OverloadExpr::OverloadExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::OverloadExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::OverloadExpr(); } CppSharp::Parser::AST::OverloadExpr::OverloadExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::OverloadExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::OverloadExpr(__arg0); } CppSharp::Parser::AST::OverloadExpr::OverloadExpr(CppSharp::Parser::AST::OverloadExpr^ _0) @@ -7969,124 +7973,124 @@ CppSharp::Parser::AST::OverloadExpr::OverloadExpr(CppSharp::Parser::AST::Overloa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::OverloadExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::OverloadExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::OverloadExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::OverloadExpr(__arg0); } CppSharp::Parser::AST::OverloadExpr::operator CppSharp::Parser::AST::OverloadExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::OverloadExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::OverloadExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::OverloadExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OverloadExpr((struct ::CppSharp::CppParser::AST::OverloadExpr*)____ret, true); } unsigned int CppSharp::Parser::AST::OverloadExpr::NumDecls::get() { - return ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numDecls; + return ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numDecls; } void CppSharp::Parser::AST::OverloadExpr::NumDecls::set(unsigned int value) { - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numDecls = value; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numDecls = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OverloadExpr::NameLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->nameLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->nameLoc); } void CppSharp::Parser::AST::OverloadExpr::NameLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->nameLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->nameLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OverloadExpr::TemplateKeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->templateKeywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->templateKeywordLoc); } void CppSharp::Parser::AST::OverloadExpr::TemplateKeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->templateKeywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->templateKeywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OverloadExpr::LAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->lAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->lAngleLoc); } void CppSharp::Parser::AST::OverloadExpr::LAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->lAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->lAngleLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::OverloadExpr::RAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->rAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->rAngleLoc); } void CppSharp::Parser::AST::OverloadExpr::RAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->rAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->rAngleLoc = _marshal0; } bool CppSharp::Parser::AST::OverloadExpr::HasTemplateKeyword::get() { - return ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasTemplateKeyword; + return ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasTemplateKeyword; } void CppSharp::Parser::AST::OverloadExpr::HasTemplateKeyword::set(bool value) { - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasTemplateKeyword = value; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasTemplateKeyword = value; } bool CppSharp::Parser::AST::OverloadExpr::HasExplicitTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasExplicitTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasExplicitTemplateArgs; } void CppSharp::Parser::AST::OverloadExpr::HasExplicitTemplateArgs::set(bool value) { - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasExplicitTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->hasExplicitTemplateArgs = value; } unsigned int CppSharp::Parser::AST::OverloadExpr::NumTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numTemplateArgs; } void CppSharp::Parser::AST::OverloadExpr::NumTemplateArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::OverloadExpr*)NativePtr)->numTemplateArgs = value; } -CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(::CppSharp::CppParser::AST::UnresolvedLookupExpr* native) +CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr* native) : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)native) { } CppSharp::Parser::AST::UnresolvedLookupExpr^ CppSharp::Parser::AST::UnresolvedLookupExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((::CppSharp::CppParser::AST::UnresolvedLookupExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*) native.ToPointer()); } -CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(::CppSharp::CppParser::AST::UnresolvedLookupExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnresolvedLookupExpr^ CppSharp::Parser::AST::UnresolvedLookupExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((::CppSharp::CppParser::AST::UnresolvedLookupExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnresolvedLookupExpr::~UnresolvedLookupExpr() @@ -8097,7 +8101,7 @@ CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr() : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedLookupExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr(); } CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(CppSharp::Parser::AST::UnresolvedLookupExpr^ _0) @@ -8106,48 +8110,48 @@ CppSharp::Parser::AST::UnresolvedLookupExpr::UnresolvedLookupExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnresolvedLookupExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedLookupExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr(__arg0); } bool CppSharp::Parser::AST::UnresolvedLookupExpr::RequiresADL::get() { - return ((::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->requiresADL; + return ((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->requiresADL; } void CppSharp::Parser::AST::UnresolvedLookupExpr::RequiresADL::set(bool value) { - ((::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->requiresADL = value; + ((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->requiresADL = value; } bool CppSharp::Parser::AST::UnresolvedLookupExpr::IsOverloaded::get() { - return ((::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->isOverloaded; + return ((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->isOverloaded; } void CppSharp::Parser::AST::UnresolvedLookupExpr::IsOverloaded::set(bool value) { - ((::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->isOverloaded = value; + ((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)NativePtr)->isOverloaded = value; } -CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native) +CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::DependentScopeDeclRefExpr^ CppSharp::Parser::AST::DependentScopeDeclRefExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DependentScopeDeclRefExpr((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DependentScopeDeclRefExpr((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*) native.ToPointer()); } -CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::DependentScopeDeclRefExpr^ CppSharp::Parser::AST::DependentScopeDeclRefExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DependentScopeDeclRefExpr((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DependentScopeDeclRefExpr((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DependentScopeDeclRefExpr::~DependentScopeDeclRefExpr() @@ -8158,7 +8162,7 @@ CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr(); } CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(CppSharp::Parser::AST::DependentScopeDeclRefExpr^ _0) @@ -8167,106 +8171,106 @@ CppSharp::Parser::AST::DependentScopeDeclRefExpr::DependentScopeDeclRefExpr(CppS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DependentScopeDeclRefExpr::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->location); } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->location = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DependentScopeDeclRefExpr::TemplateKeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->templateKeywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->templateKeywordLoc); } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::TemplateKeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->templateKeywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->templateKeywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DependentScopeDeclRefExpr::LAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->lAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->lAngleLoc); } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::LAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->lAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->lAngleLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DependentScopeDeclRefExpr::RAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->rAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->rAngleLoc); } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::RAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->rAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->rAngleLoc = _marshal0; } bool CppSharp::Parser::AST::DependentScopeDeclRefExpr::HasTemplateKeyword::get() { - return ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasTemplateKeyword; + return ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasTemplateKeyword; } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::HasTemplateKeyword::set(bool value) { - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasTemplateKeyword = value; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasTemplateKeyword = value; } bool CppSharp::Parser::AST::DependentScopeDeclRefExpr::HasExplicitTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasExplicitTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasExplicitTemplateArgs; } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::HasExplicitTemplateArgs::set(bool value) { - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasExplicitTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->hasExplicitTemplateArgs = value; } unsigned int CppSharp::Parser::AST::DependentScopeDeclRefExpr::NumTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->numTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->numTemplateArgs; } void CppSharp::Parser::AST::DependentScopeDeclRefExpr::NumTemplateArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->numTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr*)NativePtr)->numTemplateArgs = value; } -CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(::CppSharp::CppParser::AST::ExprWithCleanups* native) +CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(struct ::CppSharp::CppParser::AST::ExprWithCleanups* native) : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)native) { } CppSharp::Parser::AST::ExprWithCleanups^ CppSharp::Parser::AST::ExprWithCleanups::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ExprWithCleanups((::CppSharp::CppParser::AST::ExprWithCleanups*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ExprWithCleanups((struct ::CppSharp::CppParser::AST::ExprWithCleanups*) native.ToPointer()); } -CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(::CppSharp::CppParser::AST::ExprWithCleanups* native, bool ownNativeInstance) +CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(struct ::CppSharp::CppParser::AST::ExprWithCleanups* native, bool ownNativeInstance) : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::ExprWithCleanups^ CppSharp::Parser::AST::ExprWithCleanups::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ExprWithCleanups((::CppSharp::CppParser::AST::ExprWithCleanups*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ExprWithCleanups((struct ::CppSharp::CppParser::AST::ExprWithCleanups*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ExprWithCleanups::~ExprWithCleanups() @@ -8277,7 +8281,7 @@ CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups() : CppSharp::Parser::AST::FullExpr((::CppSharp::CppParser::AST::FullExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ExprWithCleanups(); + NativePtr = new struct ::CppSharp::CppParser::AST::ExprWithCleanups(); } CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(CppSharp::Parser::AST::ExprWithCleanups^ _0) @@ -8286,48 +8290,48 @@ CppSharp::Parser::AST::ExprWithCleanups::ExprWithCleanups(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ExprWithCleanups*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ExprWithCleanups(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ExprWithCleanups*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ExprWithCleanups(__arg0); } unsigned int CppSharp::Parser::AST::ExprWithCleanups::NumObjects::get() { - return ((::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->numObjects; + return ((struct ::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->numObjects; } void CppSharp::Parser::AST::ExprWithCleanups::NumObjects::set(unsigned int value) { - ((::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->numObjects = value; + ((struct ::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->numObjects = value; } bool CppSharp::Parser::AST::ExprWithCleanups::CleanupsHaveSideEffects::get() { - return ((::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->cleanupsHaveSideEffects; + return ((struct ::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->cleanupsHaveSideEffects; } void CppSharp::Parser::AST::ExprWithCleanups::CleanupsHaveSideEffects::set(bool value) { - ((::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->cleanupsHaveSideEffects = value; + ((struct ::CppSharp::CppParser::AST::ExprWithCleanups*)NativePtr)->cleanupsHaveSideEffects = value; } -CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native) +CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXUnresolvedConstructExpr^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXUnresolvedConstructExpr((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXUnresolvedConstructExpr((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXUnresolvedConstructExpr^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXUnresolvedConstructExpr((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXUnresolvedConstructExpr((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXUnresolvedConstructExpr::~CXXUnresolvedConstructExpr() @@ -8336,7 +8340,7 @@ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::~CXXUnresolvedConstructExpr() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*) __nativePtr; } } @@ -8344,27 +8348,27 @@ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Getarguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->getarguments(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->getarguments(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Addarguments(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->addarguments(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->addarguments(__arg0); } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Cleararguments() { - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->cleararguments(); + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->cleararguments(); } CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(CppSharp::Parser::AST::CXXUnresolvedConstructExpr^ _0) @@ -8373,112 +8377,113 @@ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::CXXUnresolvedConstructExpr(Cp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Arguments::get() { - auto _tmp__arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arguments) + auto _tmp__arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arguments; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__arguments->Add(_marshalElement); } return _tmp__arguments; } -void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arguments = _tmpvalue; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXUnresolvedConstructExpr::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXUnresolvedConstructExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXUnresolvedConstructExpr::TypeAsWritten::get() { - return (&((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten); + return (&((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten); } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::TypeAsWritten::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->typeAsWritten = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::CXXUnresolvedConstructExpr::IsListInitialization::get() { - return ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->isListInitialization; + return ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->isListInitialization; } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::IsListInitialization::set(bool value) { - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->isListInitialization = value; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->isListInitialization = value; } unsigned int CppSharp::Parser::AST::CXXUnresolvedConstructExpr::ArgSize::get() { - return ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arg_size; + return ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arg_size; } void CppSharp::Parser::AST::CXXUnresolvedConstructExpr::ArgSize::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arg_size = value; + ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->arg_size = value; } unsigned int CppSharp::Parser::AST::CXXUnresolvedConstructExpr::GetargumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->getargumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr*)NativePtr)->getargumentsCount(); return __ret; } -CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr(::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native) +CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr(struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXDependentScopeMemberExpr^ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXDependentScopeMemberExpr((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXDependentScopeMemberExpr((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr(::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr(struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXDependentScopeMemberExpr^ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXDependentScopeMemberExpr((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXDependentScopeMemberExpr((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXDependentScopeMemberExpr::~CXXDependentScopeMemberExpr() @@ -8489,7 +8494,7 @@ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr( : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr(); } CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr(CppSharp::Parser::AST::CXXDependentScopeMemberExpr^ _0) @@ -8498,170 +8503,170 @@ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::CXXDependentScopeMemberExpr( __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr(__arg0); } bool CppSharp::Parser::AST::CXXDependentScopeMemberExpr::IsImplicitAccess::get() { - return ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isImplicitAccess; + return ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isImplicitAccess; } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::IsImplicitAccess::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isImplicitAccess = value; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isImplicitAccess = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::Base::get() { - return (((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::BaseType::get() { - return (&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType); + return (&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::BaseType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->baseType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::CXXDependentScopeMemberExpr::IsArrow::get() { - return ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isArrow; + return ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isArrow; } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::IsArrow::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isArrow = value; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->isArrow = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDependentScopeMemberExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::CXXDependentScopeMemberExpr::FirstQualifierFoundInScope::get() { - return (((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope); + return (((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::FirstQualifierFoundInScope::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->firstQualifierFoundInScope = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDependentScopeMemberExpr::MemberLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->memberLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->memberLoc); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::MemberLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->memberLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->memberLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDependentScopeMemberExpr::TemplateKeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->templateKeywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->templateKeywordLoc); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::TemplateKeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->templateKeywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->templateKeywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDependentScopeMemberExpr::LAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->lAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->lAngleLoc); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::LAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->lAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->lAngleLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXDependentScopeMemberExpr::RAngleLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->rAngleLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->rAngleLoc); } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::RAngleLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->rAngleLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->rAngleLoc = _marshal0; } bool CppSharp::Parser::AST::CXXDependentScopeMemberExpr::HasTemplateKeyword::get() { - return ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasTemplateKeyword; + return ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasTemplateKeyword; } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::HasTemplateKeyword::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasTemplateKeyword = value; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasTemplateKeyword = value; } bool CppSharp::Parser::AST::CXXDependentScopeMemberExpr::HasExplicitTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasExplicitTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasExplicitTemplateArgs; } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::HasExplicitTemplateArgs::set(bool value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasExplicitTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->hasExplicitTemplateArgs = value; } unsigned int CppSharp::Parser::AST::CXXDependentScopeMemberExpr::NumTemplateArgs::get() { - return ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->numTemplateArgs; + return ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->numTemplateArgs; } void CppSharp::Parser::AST::CXXDependentScopeMemberExpr::NumTemplateArgs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->numTemplateArgs = value; + ((struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr*)NativePtr)->numTemplateArgs = value; } -CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(::CppSharp::CppParser::AST::UnresolvedMemberExpr* native) +CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr* native) : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)native) { } CppSharp::Parser::AST::UnresolvedMemberExpr^ CppSharp::Parser::AST::UnresolvedMemberExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnresolvedMemberExpr((::CppSharp::CppParser::AST::UnresolvedMemberExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnresolvedMemberExpr((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*) native.ToPointer()); } -CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(::CppSharp::CppParser::AST::UnresolvedMemberExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnresolvedMemberExpr^ CppSharp::Parser::AST::UnresolvedMemberExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnresolvedMemberExpr((::CppSharp::CppParser::AST::UnresolvedMemberExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnresolvedMemberExpr((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnresolvedMemberExpr::~UnresolvedMemberExpr() @@ -8672,7 +8677,7 @@ CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr() : CppSharp::Parser::AST::OverloadExpr((::CppSharp::CppParser::AST::OverloadExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedMemberExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr(); } CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(CppSharp::Parser::AST::UnresolvedMemberExpr^ _0) @@ -8681,104 +8686,104 @@ CppSharp::Parser::AST::UnresolvedMemberExpr::UnresolvedMemberExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnresolvedMemberExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedMemberExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr(__arg0); } bool CppSharp::Parser::AST::UnresolvedMemberExpr::IsImplicitAccess::get() { - return ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isImplicitAccess; + return ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isImplicitAccess; } void CppSharp::Parser::AST::UnresolvedMemberExpr::IsImplicitAccess::set(bool value) { - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isImplicitAccess = value; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isImplicitAccess = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::UnresolvedMemberExpr::Base::get() { - return (((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base); + return (((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base); } void CppSharp::Parser::AST::UnresolvedMemberExpr::Base::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->base = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::UnresolvedMemberExpr::BaseType::get() { - return (&((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType); + return (&((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType); } void CppSharp::Parser::AST::UnresolvedMemberExpr::BaseType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->baseType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } bool CppSharp::Parser::AST::UnresolvedMemberExpr::HasUnresolvedUsing::get() { - return ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->hasUnresolvedUsing; + return ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->hasUnresolvedUsing; } void CppSharp::Parser::AST::UnresolvedMemberExpr::HasUnresolvedUsing::set(bool value) { - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->hasUnresolvedUsing = value; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->hasUnresolvedUsing = value; } bool CppSharp::Parser::AST::UnresolvedMemberExpr::IsArrow::get() { - return ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isArrow; + return ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isArrow; } void CppSharp::Parser::AST::UnresolvedMemberExpr::IsArrow::set(bool value) { - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isArrow = value; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->isArrow = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UnresolvedMemberExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::UnresolvedMemberExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::UnresolvedMemberExpr::MemberLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->memberLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->memberLoc); } void CppSharp::Parser::AST::UnresolvedMemberExpr::MemberLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->memberLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr*)NativePtr)->memberLoc = _marshal0; } -CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(::CppSharp::CppParser::AST::CXXNoexceptExpr* native) +CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(struct ::CppSharp::CppParser::AST::CXXNoexceptExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXNoexceptExpr^ CppSharp::Parser::AST::CXXNoexceptExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXNoexceptExpr((::CppSharp::CppParser::AST::CXXNoexceptExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXNoexceptExpr((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(::CppSharp::CppParser::AST::CXXNoexceptExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(struct ::CppSharp::CppParser::AST::CXXNoexceptExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXNoexceptExpr^ CppSharp::Parser::AST::CXXNoexceptExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXNoexceptExpr((::CppSharp::CppParser::AST::CXXNoexceptExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXNoexceptExpr((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXNoexceptExpr::~CXXNoexceptExpr() @@ -8789,7 +8794,7 @@ CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXNoexceptExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNoexceptExpr(); } CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(CppSharp::Parser::AST::CXXNoexceptExpr^ _0) @@ -8798,48 +8803,48 @@ CppSharp::Parser::AST::CXXNoexceptExpr::CXXNoexceptExpr(CppSharp::Parser::AST::C __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXNoexceptExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXNoexceptExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXNoexceptExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXNoexceptExpr::Operand::get() { - return (((::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand); + return (((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand); } void CppSharp::Parser::AST::CXXNoexceptExpr::Operand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->operand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CXXNoexceptExpr::Value::get() { - return ((::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->value; + return ((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->value; } void CppSharp::Parser::AST::CXXNoexceptExpr::Value::set(bool value) { - ((::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->value = value; + ((struct ::CppSharp::CppParser::AST::CXXNoexceptExpr*)NativePtr)->value = value; } -CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(::CppSharp::CppParser::AST::PackExpansionExpr* native) +CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(struct ::CppSharp::CppParser::AST::PackExpansionExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::PackExpansionExpr^ CppSharp::Parser::AST::PackExpansionExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PackExpansionExpr((::CppSharp::CppParser::AST::PackExpansionExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PackExpansionExpr((struct ::CppSharp::CppParser::AST::PackExpansionExpr*) native.ToPointer()); } -CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(::CppSharp::CppParser::AST::PackExpansionExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(struct ::CppSharp::CppParser::AST::PackExpansionExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::PackExpansionExpr^ CppSharp::Parser::AST::PackExpansionExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PackExpansionExpr((::CppSharp::CppParser::AST::PackExpansionExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PackExpansionExpr((struct ::CppSharp::CppParser::AST::PackExpansionExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PackExpansionExpr::~PackExpansionExpr() @@ -8850,7 +8855,7 @@ CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PackExpansionExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::PackExpansionExpr(); } CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(CppSharp::Parser::AST::PackExpansionExpr^ _0) @@ -8859,50 +8864,50 @@ CppSharp::Parser::AST::PackExpansionExpr::PackExpansionExpr(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PackExpansionExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PackExpansionExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PackExpansionExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PackExpansionExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::PackExpansionExpr::Pattern::get() { - return (((::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern); + return (((struct ::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern); } void CppSharp::Parser::AST::PackExpansionExpr::Pattern::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->pattern = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::PackExpansionExpr::EllipsisLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->ellipsisLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->ellipsisLoc); } void CppSharp::Parser::AST::PackExpansionExpr::EllipsisLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->ellipsisLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::PackExpansionExpr*)NativePtr)->ellipsisLoc = _marshal0; } -CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(::CppSharp::CppParser::AST::SizeOfPackExpr* native) +CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(struct ::CppSharp::CppParser::AST::SizeOfPackExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::SizeOfPackExpr^ CppSharp::Parser::AST::SizeOfPackExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SizeOfPackExpr((::CppSharp::CppParser::AST::SizeOfPackExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SizeOfPackExpr((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*) native.ToPointer()); } -CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(::CppSharp::CppParser::AST::SizeOfPackExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(struct ::CppSharp::CppParser::AST::SizeOfPackExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::SizeOfPackExpr^ CppSharp::Parser::AST::SizeOfPackExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SizeOfPackExpr((::CppSharp::CppParser::AST::SizeOfPackExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SizeOfPackExpr((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SizeOfPackExpr::~SizeOfPackExpr() @@ -8913,7 +8918,7 @@ CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SizeOfPackExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::SizeOfPackExpr(); } CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(CppSharp::Parser::AST::SizeOfPackExpr^ _0) @@ -8922,94 +8927,94 @@ CppSharp::Parser::AST::SizeOfPackExpr::SizeOfPackExpr(CppSharp::Parser::AST::Siz __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SizeOfPackExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SizeOfPackExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SizeOfPackExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SizeOfPackExpr::OperatorLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->operatorLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->operatorLoc); } void CppSharp::Parser::AST::SizeOfPackExpr::OperatorLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->operatorLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->operatorLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SizeOfPackExpr::PackLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLoc); } void CppSharp::Parser::AST::SizeOfPackExpr::PackLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SizeOfPackExpr::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::SizeOfPackExpr::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::SizeOfPackExpr::Pack::get() { - return (((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack); + return (((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack); } void CppSharp::Parser::AST::SizeOfPackExpr::Pack::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->pack = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } unsigned int CppSharp::Parser::AST::SizeOfPackExpr::PackLength::get() { - return ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLength; + return ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLength; } void CppSharp::Parser::AST::SizeOfPackExpr::PackLength::set(unsigned int value) { - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLength = value; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->packLength = value; } bool CppSharp::Parser::AST::SizeOfPackExpr::IsPartiallySubstituted::get() { - return ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->isPartiallySubstituted; + return ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->isPartiallySubstituted; } void CppSharp::Parser::AST::SizeOfPackExpr::IsPartiallySubstituted::set(bool value) { - ((::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->isPartiallySubstituted = value; + ((struct ::CppSharp::CppParser::AST::SizeOfPackExpr*)NativePtr)->isPartiallySubstituted = value; } -CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native) +CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr^ CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*) native.ToPointer()); } -CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr^ CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::~SubstNonTypeTemplateParmExpr() @@ -9020,7 +9025,7 @@ CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExp : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr(); } CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr(CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr^ _0) @@ -9029,50 +9034,50 @@ CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::NameLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->nameLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->nameLoc); } void CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::NameLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->nameLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->nameLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::Replacement::get() { - return (((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement); + return (((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement); } void CppSharp::Parser::AST::SubstNonTypeTemplateParmExpr::Replacement::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr*)NativePtr)->replacement = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplateParmPackExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native) +CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplateParmPackExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr^ CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*) native.ToPointer()); } -CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplateParmPackExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplateParmPackExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr^ CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::~SubstNonTypeTemplateParmPackExpr() @@ -9083,7 +9088,7 @@ CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplatePar : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr(); } CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplateParmPackExpr(CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr^ _0) @@ -9092,52 +9097,52 @@ CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::SubstNonTypeTemplatePar __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::ParameterPackLocation::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->parameterPackLocation); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->parameterPackLocation); } void CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::ParameterPackLocation::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->parameterPackLocation = _marshal0; + ((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->parameterPackLocation = _marshal0; } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::ArgumentPack::get() { - return (&((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)&((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack); + return (&((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)&((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack); } void CppSharp::Parser::AST::SubstNonTypeTemplateParmPackExpr::ArgumentPack::set(CppSharp::Parser::AST::TemplateArgument^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack = *(::CppSharp::CppParser::AST::TemplateArgument*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr*)NativePtr)->argumentPack = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)value->NativePtr; } -CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(::CppSharp::CppParser::AST::FunctionParmPackExpr* native) +CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(struct ::CppSharp::CppParser::AST::FunctionParmPackExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::FunctionParmPackExpr^ CppSharp::Parser::AST::FunctionParmPackExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FunctionParmPackExpr((::CppSharp::CppParser::AST::FunctionParmPackExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FunctionParmPackExpr((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*) native.ToPointer()); } -CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(::CppSharp::CppParser::AST::FunctionParmPackExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(struct ::CppSharp::CppParser::AST::FunctionParmPackExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::FunctionParmPackExpr^ CppSharp::Parser::AST::FunctionParmPackExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FunctionParmPackExpr((::CppSharp::CppParser::AST::FunctionParmPackExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FunctionParmPackExpr((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FunctionParmPackExpr::~FunctionParmPackExpr() @@ -9148,7 +9153,7 @@ CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FunctionParmPackExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionParmPackExpr(); } CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(CppSharp::Parser::AST::FunctionParmPackExpr^ _0) @@ -9157,33 +9162,33 @@ CppSharp::Parser::AST::FunctionParmPackExpr::FunctionParmPackExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FunctionParmPackExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FunctionParmPackExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionParmPackExpr(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::FunctionParmPackExpr::ParameterPackLocation::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->parameterPackLocation); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->parameterPackLocation); } void CppSharp::Parser::AST::FunctionParmPackExpr::ParameterPackLocation::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->parameterPackLocation = _marshal0; + ((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->parameterPackLocation = _marshal0; } unsigned int CppSharp::Parser::AST::FunctionParmPackExpr::NumExpansions::get() { - return ((::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->numExpansions; + return ((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->numExpansions; } void CppSharp::Parser::AST::FunctionParmPackExpr::NumExpansions::set(unsigned int value) { - ((::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->numExpansions = value; + ((struct ::CppSharp::CppParser::AST::FunctionParmPackExpr*)NativePtr)->numExpansions = value; } -CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native) +CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -9191,10 +9196,10 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(::CppSha CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState^ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState((::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*) native.ToPointer()); } -CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native, bool ownNativeInstance) +CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -9202,7 +9207,7 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(::CppSha CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState^ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState((::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::~ExtraState() @@ -9213,7 +9218,7 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::~ExtraState() CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState(); + NativePtr = new struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState(); } CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState^ _0) @@ -9221,37 +9226,37 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::ExtraState(CppSharp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState(__arg0); } -System::IntPtr CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::MaterializeTemporaryExpr::ExtraState::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState*)object.ToPointer(); } -CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native) +CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::MaterializeTemporaryExpr^ CppSharp::Parser::AST::MaterializeTemporaryExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*) native.ToPointer()); } -CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::MaterializeTemporaryExpr^ CppSharp::Parser::AST::MaterializeTemporaryExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MaterializeTemporaryExpr((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MaterializeTemporaryExpr::~MaterializeTemporaryExpr() @@ -9262,7 +9267,7 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MaterializeTemporaryExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr(); } CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(CppSharp::Parser::AST::MaterializeTemporaryExpr^ _0) @@ -9271,68 +9276,68 @@ CppSharp::Parser::AST::MaterializeTemporaryExpr::MaterializeTemporaryExpr(CppSha __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MaterializeTemporaryExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr(__arg0); } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::MaterializeTemporaryExpr::Temporary::get() { - return (((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary); + return (((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary); } void CppSharp::Parser::AST::MaterializeTemporaryExpr::Temporary::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->temporary = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::MaterializeTemporaryExpr::TemporaryExpr::get() { - return (((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr); + return (((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr); } void CppSharp::Parser::AST::MaterializeTemporaryExpr::TemporaryExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->TemporaryExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } unsigned int CppSharp::Parser::AST::MaterializeTemporaryExpr::ManglingNumber::get() { - return ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->manglingNumber; + return ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->manglingNumber; } void CppSharp::Parser::AST::MaterializeTemporaryExpr::ManglingNumber::set(unsigned int value) { - ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->manglingNumber = value; + ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->manglingNumber = value; } bool CppSharp::Parser::AST::MaterializeTemporaryExpr::IsBoundToLvalueReference::get() { - return ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->isBoundToLvalueReference; + return ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->isBoundToLvalueReference; } void CppSharp::Parser::AST::MaterializeTemporaryExpr::IsBoundToLvalueReference::set(bool value) { - ((::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->isBoundToLvalueReference = value; + ((struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr*)NativePtr)->isBoundToLvalueReference = value; } -CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(::CppSharp::CppParser::AST::CXXFoldExpr* native) +CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(struct ::CppSharp::CppParser::AST::CXXFoldExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CXXFoldExpr^ CppSharp::Parser::AST::CXXFoldExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXFoldExpr((::CppSharp::CppParser::AST::CXXFoldExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXFoldExpr((struct ::CppSharp::CppParser::AST::CXXFoldExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(::CppSharp::CppParser::AST::CXXFoldExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(struct ::CppSharp::CppParser::AST::CXXFoldExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXFoldExpr^ CppSharp::Parser::AST::CXXFoldExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXFoldExpr((::CppSharp::CppParser::AST::CXXFoldExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXFoldExpr((struct ::CppSharp::CppParser::AST::CXXFoldExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXFoldExpr::~CXXFoldExpr() @@ -9343,7 +9348,7 @@ CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXFoldExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXFoldExpr(); } CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(CppSharp::Parser::AST::CXXFoldExpr^ _0) @@ -9352,110 +9357,110 @@ CppSharp::Parser::AST::CXXFoldExpr::CXXFoldExpr(CppSharp::Parser::AST::CXXFoldEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXFoldExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXFoldExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXFoldExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXFoldExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXFoldExpr::LHS::get() { - return (((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS); } void CppSharp::Parser::AST::CXXFoldExpr::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXFoldExpr::RHS::get() { - return (((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS); } void CppSharp::Parser::AST::CXXFoldExpr::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CXXFoldExpr::IsRightFold::get() { - return ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isRightFold; + return ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isRightFold; } void CppSharp::Parser::AST::CXXFoldExpr::IsRightFold::set(bool value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isRightFold = value; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isRightFold = value; } bool CppSharp::Parser::AST::CXXFoldExpr::IsLeftFold::get() { - return ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isLeftFold; + return ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isLeftFold; } void CppSharp::Parser::AST::CXXFoldExpr::IsLeftFold::set(bool value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isLeftFold = value; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->isLeftFold = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXFoldExpr::Pattern::get() { - return (((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern); + return (((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern); } void CppSharp::Parser::AST::CXXFoldExpr::Pattern::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->pattern = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXFoldExpr::Init::get() { - return (((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init); } void CppSharp::Parser::AST::CXXFoldExpr::Init::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXFoldExpr::EllipsisLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->ellipsisLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->ellipsisLoc); } void CppSharp::Parser::AST::CXXFoldExpr::EllipsisLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->ellipsisLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->ellipsisLoc = _marshal0; } CppSharp::Parser::AST::BinaryOperatorKind CppSharp::Parser::AST::CXXFoldExpr::Operator::get() { - return (CppSharp::Parser::AST::BinaryOperatorKind)((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->_operator; + return (CppSharp::Parser::AST::BinaryOperatorKind)((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->_operator; } void CppSharp::Parser::AST::CXXFoldExpr::Operator::set(CppSharp::Parser::AST::BinaryOperatorKind value) { - ((::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->_operator = (::CppSharp::CppParser::AST::BinaryOperatorKind)value; + ((struct ::CppSharp::CppParser::AST::CXXFoldExpr*)NativePtr)->_operator = (enum ::CppSharp::CppParser::AST::BinaryOperatorKind)value; } -CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(::CppSharp::CppParser::AST::CoroutineSuspendExpr* native) +CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::CoroutineSuspendExpr^ CppSharp::Parser::AST::CoroutineSuspendExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(::CppSharp::CppParser::AST::CoroutineSuspendExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CoroutineSuspendExpr^ CppSharp::Parser::AST::CoroutineSuspendExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoroutineSuspendExpr::~CoroutineSuspendExpr() @@ -9466,15 +9471,15 @@ CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineSuspendExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr(); } CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__arg0); } CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(CppSharp::Parser::AST::CoroutineSuspendExpr^ _0) @@ -9483,98 +9488,98 @@ CppSharp::Parser::AST::CoroutineSuspendExpr::CoroutineSuspendExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoroutineSuspendExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__arg0); } CppSharp::Parser::AST::CoroutineSuspendExpr::operator CppSharp::Parser::AST::CoroutineSuspendExpr^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::CoroutineSuspendExpr) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CoroutineSuspendExpr((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)____ret, true); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CoroutineSuspendExpr::KeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->keywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->keywordLoc); } void CppSharp::Parser::AST::CoroutineSuspendExpr::KeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->keywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->keywordLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineSuspendExpr::CommonExpr::get() { - return (((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr); + return (((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr); } void CppSharp::Parser::AST::CoroutineSuspendExpr::CommonExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->commonExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::OpaqueValueExpr^ CppSharp::Parser::AST::CoroutineSuspendExpr::OpaqueValue::get() { - return (((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((::CppSharp::CppParser::AST::OpaqueValueExpr*)((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue); + return (((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::OpaqueValueExpr((struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue); } void CppSharp::Parser::AST::CoroutineSuspendExpr::OpaqueValue::set(CppSharp::Parser::AST::OpaqueValueExpr^ value) { - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue = (::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->opaqueValue = (struct ::CppSharp::CppParser::AST::OpaqueValueExpr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineSuspendExpr::ReadyExpr::get() { - return (((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr); + return (((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr); } void CppSharp::Parser::AST::CoroutineSuspendExpr::ReadyExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->readyExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineSuspendExpr::SuspendExpr::get() { - return (((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr); + return (((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr); } void CppSharp::Parser::AST::CoroutineSuspendExpr::SuspendExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->suspendExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineSuspendExpr::ResumeExpr::get() { - return (((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr); + return (((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr); } void CppSharp::Parser::AST::CoroutineSuspendExpr::ResumeExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr*)NativePtr)->resumeExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(::CppSharp::CppParser::AST::CoawaitExpr* native) +CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(struct ::CppSharp::CppParser::AST::CoawaitExpr* native) : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)native) { } CppSharp::Parser::AST::CoawaitExpr^ CppSharp::Parser::AST::CoawaitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoawaitExpr((::CppSharp::CppParser::AST::CoawaitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoawaitExpr((struct ::CppSharp::CppParser::AST::CoawaitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(::CppSharp::CppParser::AST::CoawaitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(struct ::CppSharp::CppParser::AST::CoawaitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CoawaitExpr^ CppSharp::Parser::AST::CoawaitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoawaitExpr((::CppSharp::CppParser::AST::CoawaitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoawaitExpr((struct ::CppSharp::CppParser::AST::CoawaitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoawaitExpr::~CoawaitExpr() @@ -9585,7 +9590,7 @@ CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr() : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoawaitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoawaitExpr(); } CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(CppSharp::Parser::AST::CoawaitExpr^ _0) @@ -9594,48 +9599,48 @@ CppSharp::Parser::AST::CoawaitExpr::CoawaitExpr(CppSharp::Parser::AST::CoawaitEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoawaitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoawaitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoawaitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoawaitExpr(__arg0); } bool CppSharp::Parser::AST::CoawaitExpr::IsImplicit::get() { - return ((::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->isImplicit; + return ((struct ::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->isImplicit; } void CppSharp::Parser::AST::CoawaitExpr::IsImplicit::set(bool value) { - ((::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->isImplicit = value; + ((struct ::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->isImplicit = value; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoawaitExpr::Operand::get() { - return (((::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand); + return (((struct ::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand); } void CppSharp::Parser::AST::CoawaitExpr::Operand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoawaitExpr*)NativePtr)->operand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(::CppSharp::CppParser::AST::DependentCoawaitExpr* native) +CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(struct ::CppSharp::CppParser::AST::DependentCoawaitExpr* native) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native) { } CppSharp::Parser::AST::DependentCoawaitExpr^ CppSharp::Parser::AST::DependentCoawaitExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DependentCoawaitExpr((::CppSharp::CppParser::AST::DependentCoawaitExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DependentCoawaitExpr((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*) native.ToPointer()); } -CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(::CppSharp::CppParser::AST::DependentCoawaitExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(struct ::CppSharp::CppParser::AST::DependentCoawaitExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)native, ownNativeInstance) { } CppSharp::Parser::AST::DependentCoawaitExpr^ CppSharp::Parser::AST::DependentCoawaitExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DependentCoawaitExpr((::CppSharp::CppParser::AST::DependentCoawaitExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DependentCoawaitExpr((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DependentCoawaitExpr::~DependentCoawaitExpr() @@ -9646,7 +9651,7 @@ CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr() : CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DependentCoawaitExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::DependentCoawaitExpr(); } CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(CppSharp::Parser::AST::DependentCoawaitExpr^ _0) @@ -9655,60 +9660,60 @@ CppSharp::Parser::AST::DependentCoawaitExpr::DependentCoawaitExpr(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DependentCoawaitExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DependentCoawaitExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DependentCoawaitExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::DependentCoawaitExpr::Operand::get() { - return (((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand); + return (((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand); } void CppSharp::Parser::AST::DependentCoawaitExpr::Operand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::UnresolvedLookupExpr^ CppSharp::Parser::AST::DependentCoawaitExpr::OperatorCoawaitLookup::get() { - return (((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((::CppSharp::CppParser::AST::UnresolvedLookupExpr*)((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup); + return (((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::UnresolvedLookupExpr((struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup); } void CppSharp::Parser::AST::DependentCoawaitExpr::OperatorCoawaitLookup::set(CppSharp::Parser::AST::UnresolvedLookupExpr^ value) { - ((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup = (::CppSharp::CppParser::AST::UnresolvedLookupExpr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->operatorCoawaitLookup = (struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DependentCoawaitExpr::KeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->keywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->keywordLoc); } void CppSharp::Parser::AST::DependentCoawaitExpr::KeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->keywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DependentCoawaitExpr*)NativePtr)->keywordLoc = _marshal0; } -CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(::CppSharp::CppParser::AST::CoyieldExpr* native) +CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(struct ::CppSharp::CppParser::AST::CoyieldExpr* native) : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)native) { } CppSharp::Parser::AST::CoyieldExpr^ CppSharp::Parser::AST::CoyieldExpr::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoyieldExpr((::CppSharp::CppParser::AST::CoyieldExpr*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoyieldExpr((struct ::CppSharp::CppParser::AST::CoyieldExpr*) native.ToPointer()); } -CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(::CppSharp::CppParser::AST::CoyieldExpr* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(struct ::CppSharp::CppParser::AST::CoyieldExpr* native, bool ownNativeInstance) : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)native, ownNativeInstance) { } CppSharp::Parser::AST::CoyieldExpr^ CppSharp::Parser::AST::CoyieldExpr::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoyieldExpr((::CppSharp::CppParser::AST::CoyieldExpr*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoyieldExpr((struct ::CppSharp::CppParser::AST::CoyieldExpr*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoyieldExpr::~CoyieldExpr() @@ -9719,7 +9724,7 @@ CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr() : CppSharp::Parser::AST::CoroutineSuspendExpr((::CppSharp::CppParser::AST::CoroutineSuspendExpr*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoyieldExpr(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoyieldExpr(); } CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(CppSharp::Parser::AST::CoyieldExpr^ _0) @@ -9728,17 +9733,17 @@ CppSharp::Parser::AST::CoyieldExpr::CoyieldExpr(CppSharp::Parser::AST::CoyieldEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoyieldExpr*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoyieldExpr(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoyieldExpr*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoyieldExpr(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoyieldExpr::Operand::get() { - return (((::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand); + return (((struct ::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand); } void CppSharp::Parser::AST::CoyieldExpr::Operand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoyieldExpr*)NativePtr)->operand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } diff --git a/src/CppParser/Bindings/CLI/Expr.h b/src/CppParser/Bindings/CLI/Expr.h index 5805f458..6b8498a1 100644 --- a/src/CppParser/Bindings/CLI/Expr.h +++ b/src/CppParser/Bindings/CLI/Expr.h @@ -431,15 +431,15 @@ namespace CppSharp IncompleteType = 10 }; - property ::CppSharp::CppParser::AST::Expr::Classification* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::Expr::Classification* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Classification(::CppSharp::CppParser::AST::Expr::Classification* native); - Classification(::CppSharp::CppParser::AST::Expr::Classification* native, bool ownNativeInstance); + Classification(struct ::CppSharp::CppParser::AST::Expr::Classification* native); + Classification(struct ::CppSharp::CppParser::AST::Expr::Classification* native, bool ownNativeInstance); static Classification^ __CreateInstance(::System::IntPtr native); static Classification^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Classification(); @@ -501,8 +501,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - Expr(::CppSharp::CppParser::AST::Expr* native); - Expr(::CppSharp::CppParser::AST::Expr* native, bool ownNativeInstance); + Expr(struct ::CppSharp::CppParser::AST::Expr* native); + Expr(struct ::CppSharp::CppParser::AST::Expr* native, bool ownNativeInstance); static Expr^ __CreateInstance(::System::IntPtr native); static Expr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Expr(); @@ -604,8 +604,8 @@ namespace CppSharp { public: - FullExpr(::CppSharp::CppParser::AST::FullExpr* native); - FullExpr(::CppSharp::CppParser::AST::FullExpr* native, bool ownNativeInstance); + FullExpr(struct ::CppSharp::CppParser::AST::FullExpr* native); + FullExpr(struct ::CppSharp::CppParser::AST::FullExpr* native, bool ownNativeInstance); static FullExpr^ __CreateInstance(::System::IntPtr native); static FullExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FullExpr(); @@ -629,8 +629,8 @@ namespace CppSharp { public: - ConstantExpr(::CppSharp::CppParser::AST::ConstantExpr* native); - ConstantExpr(::CppSharp::CppParser::AST::ConstantExpr* native, bool ownNativeInstance); + ConstantExpr(struct ::CppSharp::CppParser::AST::ConstantExpr* native); + ConstantExpr(struct ::CppSharp::CppParser::AST::ConstantExpr* native, bool ownNativeInstance); static ConstantExpr^ __CreateInstance(::System::IntPtr native); static ConstantExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ConstantExpr(); @@ -644,8 +644,8 @@ namespace CppSharp { public: - OpaqueValueExpr(::CppSharp::CppParser::AST::OpaqueValueExpr* native); - OpaqueValueExpr(::CppSharp::CppParser::AST::OpaqueValueExpr* native, bool ownNativeInstance); + OpaqueValueExpr(struct ::CppSharp::CppParser::AST::OpaqueValueExpr* native); + OpaqueValueExpr(struct ::CppSharp::CppParser::AST::OpaqueValueExpr* native, bool ownNativeInstance); static OpaqueValueExpr^ __CreateInstance(::System::IntPtr native); static OpaqueValueExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); OpaqueValueExpr(); @@ -677,8 +677,8 @@ namespace CppSharp { public: - DeclRefExpr(::CppSharp::CppParser::AST::DeclRefExpr* native); - DeclRefExpr(::CppSharp::CppParser::AST::DeclRefExpr* native, bool ownNativeInstance); + DeclRefExpr(struct ::CppSharp::CppParser::AST::DeclRefExpr* native); + DeclRefExpr(struct ::CppSharp::CppParser::AST::DeclRefExpr* native, bool ownNativeInstance); static DeclRefExpr^ __CreateInstance(::System::IntPtr native); static DeclRefExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DeclRefExpr(); @@ -764,8 +764,8 @@ namespace CppSharp { public: - IntegerLiteral(::CppSharp::CppParser::AST::IntegerLiteral* native); - IntegerLiteral(::CppSharp::CppParser::AST::IntegerLiteral* native, bool ownNativeInstance); + IntegerLiteral(struct ::CppSharp::CppParser::AST::IntegerLiteral* native); + IntegerLiteral(struct ::CppSharp::CppParser::AST::IntegerLiteral* native, bool ownNativeInstance); static IntegerLiteral^ __CreateInstance(::System::IntPtr native); static IntegerLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); IntegerLiteral(); @@ -791,8 +791,8 @@ namespace CppSharp { public: - FixedPointLiteral(::CppSharp::CppParser::AST::FixedPointLiteral* native); - FixedPointLiteral(::CppSharp::CppParser::AST::FixedPointLiteral* native, bool ownNativeInstance); + FixedPointLiteral(struct ::CppSharp::CppParser::AST::FixedPointLiteral* native); + FixedPointLiteral(struct ::CppSharp::CppParser::AST::FixedPointLiteral* native, bool ownNativeInstance); static FixedPointLiteral^ __CreateInstance(::System::IntPtr native); static FixedPointLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FixedPointLiteral(); @@ -827,8 +827,8 @@ namespace CppSharp UTF32 = 4 }; - CharacterLiteral(::CppSharp::CppParser::AST::CharacterLiteral* native); - CharacterLiteral(::CppSharp::CppParser::AST::CharacterLiteral* native, bool ownNativeInstance); + CharacterLiteral(struct ::CppSharp::CppParser::AST::CharacterLiteral* native); + CharacterLiteral(struct ::CppSharp::CppParser::AST::CharacterLiteral* native, bool ownNativeInstance); static CharacterLiteral^ __CreateInstance(::System::IntPtr native); static CharacterLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CharacterLiteral(); @@ -860,8 +860,8 @@ namespace CppSharp { public: - FloatingLiteral(::CppSharp::CppParser::AST::FloatingLiteral* native); - FloatingLiteral(::CppSharp::CppParser::AST::FloatingLiteral* native, bool ownNativeInstance); + FloatingLiteral(struct ::CppSharp::CppParser::AST::FloatingLiteral* native); + FloatingLiteral(struct ::CppSharp::CppParser::AST::FloatingLiteral* native, bool ownNativeInstance); static FloatingLiteral^ __CreateInstance(::System::IntPtr native); static FloatingLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FloatingLiteral(); @@ -893,8 +893,8 @@ namespace CppSharp { public: - ImaginaryLiteral(::CppSharp::CppParser::AST::ImaginaryLiteral* native); - ImaginaryLiteral(::CppSharp::CppParser::AST::ImaginaryLiteral* native, bool ownNativeInstance); + ImaginaryLiteral(struct ::CppSharp::CppParser::AST::ImaginaryLiteral* native); + ImaginaryLiteral(struct ::CppSharp::CppParser::AST::ImaginaryLiteral* native, bool ownNativeInstance); static ImaginaryLiteral^ __CreateInstance(::System::IntPtr native); static ImaginaryLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ImaginaryLiteral(); @@ -923,8 +923,8 @@ namespace CppSharp UTF32 = 4 }; - StringLiteral(::CppSharp::CppParser::AST::StringLiteral* native); - StringLiteral(::CppSharp::CppParser::AST::StringLiteral* native, bool ownNativeInstance); + StringLiteral(struct ::CppSharp::CppParser::AST::StringLiteral* native); + StringLiteral(struct ::CppSharp::CppParser::AST::StringLiteral* native, bool ownNativeInstance); static StringLiteral^ __CreateInstance(::System::IntPtr native); static StringLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); StringLiteral(); @@ -933,16 +933,16 @@ namespace CppSharp ~StringLiteral(); - property System::String^ String + property ::System::String^ String { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } - property System::String^ Bytes + property ::System::String^ Bytes { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property unsigned int ByteLength @@ -1040,8 +1040,8 @@ namespace CppSharp PrettyFunctionNoVirtual = 7 }; - PredefinedExpr(::CppSharp::CppParser::AST::PredefinedExpr* native); - PredefinedExpr(::CppSharp::CppParser::AST::PredefinedExpr* native, bool ownNativeInstance); + PredefinedExpr(struct ::CppSharp::CppParser::AST::PredefinedExpr* native); + PredefinedExpr(struct ::CppSharp::CppParser::AST::PredefinedExpr* native, bool ownNativeInstance); static PredefinedExpr^ __CreateInstance(::System::IntPtr native); static PredefinedExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PredefinedExpr(); @@ -1067,8 +1067,8 @@ namespace CppSharp { public: - ParenExpr(::CppSharp::CppParser::AST::ParenExpr* native); - ParenExpr(::CppSharp::CppParser::AST::ParenExpr* native, bool ownNativeInstance); + ParenExpr(struct ::CppSharp::CppParser::AST::ParenExpr* native); + ParenExpr(struct ::CppSharp::CppParser::AST::ParenExpr* native, bool ownNativeInstance); static ParenExpr^ __CreateInstance(::System::IntPtr native); static ParenExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParenExpr(); @@ -1100,8 +1100,8 @@ namespace CppSharp { public: - UnaryOperator(::CppSharp::CppParser::AST::UnaryOperator* native); - UnaryOperator(::CppSharp::CppParser::AST::UnaryOperator* native, bool ownNativeInstance); + UnaryOperator(struct ::CppSharp::CppParser::AST::UnaryOperator* native); + UnaryOperator(struct ::CppSharp::CppParser::AST::UnaryOperator* native, bool ownNativeInstance); static UnaryOperator^ __CreateInstance(::System::IntPtr native); static UnaryOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnaryOperator(); @@ -1181,8 +1181,8 @@ namespace CppSharp { public: - OffsetOfExpr(::CppSharp::CppParser::AST::OffsetOfExpr* native); - OffsetOfExpr(::CppSharp::CppParser::AST::OffsetOfExpr* native, bool ownNativeInstance); + OffsetOfExpr(struct ::CppSharp::CppParser::AST::OffsetOfExpr* native); + OffsetOfExpr(struct ::CppSharp::CppParser::AST::OffsetOfExpr* native, bool ownNativeInstance); static OffsetOfExpr^ __CreateInstance(::System::IntPtr native); static OffsetOfExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); OffsetOfExpr(); @@ -1220,8 +1220,8 @@ namespace CppSharp { public: - UnaryExprOrTypeTraitExpr(::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native); - UnaryExprOrTypeTraitExpr(::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native, bool ownNativeInstance); + UnaryExprOrTypeTraitExpr(struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native); + UnaryExprOrTypeTraitExpr(struct ::CppSharp::CppParser::AST::UnaryExprOrTypeTraitExpr* native, bool ownNativeInstance); static UnaryExprOrTypeTraitExpr^ __CreateInstance(::System::IntPtr native); static UnaryExprOrTypeTraitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnaryExprOrTypeTraitExpr(); @@ -1277,8 +1277,8 @@ namespace CppSharp { public: - ArraySubscriptExpr(::CppSharp::CppParser::AST::ArraySubscriptExpr* native); - ArraySubscriptExpr(::CppSharp::CppParser::AST::ArraySubscriptExpr* native, bool ownNativeInstance); + ArraySubscriptExpr(struct ::CppSharp::CppParser::AST::ArraySubscriptExpr* native); + ArraySubscriptExpr(struct ::CppSharp::CppParser::AST::ArraySubscriptExpr* native, bool ownNativeInstance); static ArraySubscriptExpr^ __CreateInstance(::System::IntPtr native); static ArraySubscriptExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArraySubscriptExpr(); @@ -1322,8 +1322,8 @@ namespace CppSharp { public: - CallExpr(::CppSharp::CppParser::AST::CallExpr* native); - CallExpr(::CppSharp::CppParser::AST::CallExpr* native, bool ownNativeInstance); + CallExpr(struct ::CppSharp::CppParser::AST::CallExpr* native); + CallExpr(struct ::CppSharp::CppParser::AST::CallExpr* native, bool ownNativeInstance); static CallExpr^ __CreateInstance(::System::IntPtr native); static CallExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CallExpr(); @@ -1334,10 +1334,10 @@ namespace CppSharp ~CallExpr(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::Expr^ Callee @@ -1406,8 +1406,8 @@ namespace CppSharp { public: - MemberExpr(::CppSharp::CppParser::AST::MemberExpr* native); - MemberExpr(::CppSharp::CppParser::AST::MemberExpr* native, bool ownNativeInstance); + MemberExpr(struct ::CppSharp::CppParser::AST::MemberExpr* native); + MemberExpr(struct ::CppSharp::CppParser::AST::MemberExpr* native, bool ownNativeInstance); static MemberExpr^ __CreateInstance(::System::IntPtr native); static MemberExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MemberExpr(); @@ -1499,8 +1499,8 @@ namespace CppSharp { public: - CompoundLiteralExpr(::CppSharp::CppParser::AST::CompoundLiteralExpr* native); - CompoundLiteralExpr(::CppSharp::CppParser::AST::CompoundLiteralExpr* native, bool ownNativeInstance); + CompoundLiteralExpr(struct ::CppSharp::CppParser::AST::CompoundLiteralExpr* native); + CompoundLiteralExpr(struct ::CppSharp::CppParser::AST::CompoundLiteralExpr* native, bool ownNativeInstance); static CompoundLiteralExpr^ __CreateInstance(::System::IntPtr native); static CompoundLiteralExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CompoundLiteralExpr(); @@ -1532,8 +1532,8 @@ namespace CppSharp { public: - CastExpr(::CppSharp::CppParser::AST::CastExpr* native); - CastExpr(::CppSharp::CppParser::AST::CastExpr* native, bool ownNativeInstance); + CastExpr(struct ::CppSharp::CppParser::AST::CastExpr* native); + CastExpr(struct ::CppSharp::CppParser::AST::CastExpr* native, bool ownNativeInstance); static CastExpr^ __CreateInstance(::System::IntPtr native); static CastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CastExpr(); @@ -1556,10 +1556,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Expr^); } - property System::String^ CastKindName + property ::System::String^ CastKindName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::AST::Expr^ SubExprAsWritten @@ -1598,8 +1598,8 @@ namespace CppSharp OnStack = 0 }; - ImplicitCastExpr(::CppSharp::CppParser::AST::ImplicitCastExpr* native); - ImplicitCastExpr(::CppSharp::CppParser::AST::ImplicitCastExpr* native, bool ownNativeInstance); + ImplicitCastExpr(struct ::CppSharp::CppParser::AST::ImplicitCastExpr* native); + ImplicitCastExpr(struct ::CppSharp::CppParser::AST::ImplicitCastExpr* native, bool ownNativeInstance); static ImplicitCastExpr^ __CreateInstance(::System::IntPtr native); static ImplicitCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ImplicitCastExpr(); @@ -1619,8 +1619,8 @@ namespace CppSharp { public: - ExplicitCastExpr(::CppSharp::CppParser::AST::ExplicitCastExpr* native); - ExplicitCastExpr(::CppSharp::CppParser::AST::ExplicitCastExpr* native, bool ownNativeInstance); + ExplicitCastExpr(struct ::CppSharp::CppParser::AST::ExplicitCastExpr* native); + ExplicitCastExpr(struct ::CppSharp::CppParser::AST::ExplicitCastExpr* native, bool ownNativeInstance); static ExplicitCastExpr^ __CreateInstance(::System::IntPtr native); static ExplicitCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ExplicitCastExpr(); @@ -1644,8 +1644,8 @@ namespace CppSharp { public: - CStyleCastExpr(::CppSharp::CppParser::AST::CStyleCastExpr* native); - CStyleCastExpr(::CppSharp::CppParser::AST::CStyleCastExpr* native, bool ownNativeInstance); + CStyleCastExpr(struct ::CppSharp::CppParser::AST::CStyleCastExpr* native); + CStyleCastExpr(struct ::CppSharp::CppParser::AST::CStyleCastExpr* native, bool ownNativeInstance); static CStyleCastExpr^ __CreateInstance(::System::IntPtr native); static CStyleCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CStyleCastExpr(); @@ -1671,8 +1671,8 @@ namespace CppSharp { public: - BinaryOperator(::CppSharp::CppParser::AST::BinaryOperator* native); - BinaryOperator(::CppSharp::CppParser::AST::BinaryOperator* native, bool ownNativeInstance); + BinaryOperator(struct ::CppSharp::CppParser::AST::BinaryOperator* native); + BinaryOperator(struct ::CppSharp::CppParser::AST::BinaryOperator* native, bool ownNativeInstance); static BinaryOperator^ __CreateInstance(::System::IntPtr native); static BinaryOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BinaryOperator(); @@ -1707,10 +1707,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Expr^); } - property System::String^ OpcodeStr + property ::System::String^ OpcodeStr { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property bool IsPtrMemOp @@ -1804,8 +1804,8 @@ namespace CppSharp { public: - CompoundAssignOperator(::CppSharp::CppParser::AST::CompoundAssignOperator* native); - CompoundAssignOperator(::CppSharp::CppParser::AST::CompoundAssignOperator* native, bool ownNativeInstance); + CompoundAssignOperator(struct ::CppSharp::CppParser::AST::CompoundAssignOperator* native); + CompoundAssignOperator(struct ::CppSharp::CppParser::AST::CompoundAssignOperator* native, bool ownNativeInstance); static CompoundAssignOperator^ __CreateInstance(::System::IntPtr native); static CompoundAssignOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CompoundAssignOperator(); @@ -1831,8 +1831,8 @@ namespace CppSharp { public: - AbstractConditionalOperator(::CppSharp::CppParser::AST::AbstractConditionalOperator* native); - AbstractConditionalOperator(::CppSharp::CppParser::AST::AbstractConditionalOperator* native, bool ownNativeInstance); + AbstractConditionalOperator(struct ::CppSharp::CppParser::AST::AbstractConditionalOperator* native); + AbstractConditionalOperator(struct ::CppSharp::CppParser::AST::AbstractConditionalOperator* native, bool ownNativeInstance); static AbstractConditionalOperator^ __CreateInstance(::System::IntPtr native); static AbstractConditionalOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AbstractConditionalOperator(); @@ -1880,8 +1880,8 @@ namespace CppSharp { public: - ConditionalOperator(::CppSharp::CppParser::AST::ConditionalOperator* native); - ConditionalOperator(::CppSharp::CppParser::AST::ConditionalOperator* native, bool ownNativeInstance); + ConditionalOperator(struct ::CppSharp::CppParser::AST::ConditionalOperator* native); + ConditionalOperator(struct ::CppSharp::CppParser::AST::ConditionalOperator* native, bool ownNativeInstance); static ConditionalOperator^ __CreateInstance(::System::IntPtr native); static ConditionalOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ConditionalOperator(); @@ -1907,8 +1907,8 @@ namespace CppSharp { public: - BinaryConditionalOperator(::CppSharp::CppParser::AST::BinaryConditionalOperator* native); - BinaryConditionalOperator(::CppSharp::CppParser::AST::BinaryConditionalOperator* native, bool ownNativeInstance); + BinaryConditionalOperator(struct ::CppSharp::CppParser::AST::BinaryConditionalOperator* native); + BinaryConditionalOperator(struct ::CppSharp::CppParser::AST::BinaryConditionalOperator* native, bool ownNativeInstance); static BinaryConditionalOperator^ __CreateInstance(::System::IntPtr native); static BinaryConditionalOperator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BinaryConditionalOperator(); @@ -1934,8 +1934,8 @@ namespace CppSharp { public: - AddrLabelExpr(::CppSharp::CppParser::AST::AddrLabelExpr* native); - AddrLabelExpr(::CppSharp::CppParser::AST::AddrLabelExpr* native, bool ownNativeInstance); + AddrLabelExpr(struct ::CppSharp::CppParser::AST::AddrLabelExpr* native); + AddrLabelExpr(struct ::CppSharp::CppParser::AST::AddrLabelExpr* native, bool ownNativeInstance); static AddrLabelExpr^ __CreateInstance(::System::IntPtr native); static AddrLabelExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AddrLabelExpr(); @@ -1961,8 +1961,8 @@ namespace CppSharp { public: - StmtExpr(::CppSharp::CppParser::AST::StmtExpr* native); - StmtExpr(::CppSharp::CppParser::AST::StmtExpr* native, bool ownNativeInstance); + StmtExpr(struct ::CppSharp::CppParser::AST::StmtExpr* native); + StmtExpr(struct ::CppSharp::CppParser::AST::StmtExpr* native, bool ownNativeInstance); static StmtExpr^ __CreateInstance(::System::IntPtr native); static StmtExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); StmtExpr(); @@ -1994,8 +1994,8 @@ namespace CppSharp { public: - ShuffleVectorExpr(::CppSharp::CppParser::AST::ShuffleVectorExpr* native); - ShuffleVectorExpr(::CppSharp::CppParser::AST::ShuffleVectorExpr* native, bool ownNativeInstance); + ShuffleVectorExpr(struct ::CppSharp::CppParser::AST::ShuffleVectorExpr* native); + ShuffleVectorExpr(struct ::CppSharp::CppParser::AST::ShuffleVectorExpr* native, bool ownNativeInstance); static ShuffleVectorExpr^ __CreateInstance(::System::IntPtr native); static ShuffleVectorExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ShuffleVectorExpr(); @@ -2027,8 +2027,8 @@ namespace CppSharp { public: - ConvertVectorExpr(::CppSharp::CppParser::AST::ConvertVectorExpr* native); - ConvertVectorExpr(::CppSharp::CppParser::AST::ConvertVectorExpr* native, bool ownNativeInstance); + ConvertVectorExpr(struct ::CppSharp::CppParser::AST::ConvertVectorExpr* native); + ConvertVectorExpr(struct ::CppSharp::CppParser::AST::ConvertVectorExpr* native, bool ownNativeInstance); static ConvertVectorExpr^ __CreateInstance(::System::IntPtr native); static ConvertVectorExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ConvertVectorExpr(); @@ -2060,8 +2060,8 @@ namespace CppSharp { public: - ChooseExpr(::CppSharp::CppParser::AST::ChooseExpr* native); - ChooseExpr(::CppSharp::CppParser::AST::ChooseExpr* native, bool ownNativeInstance); + ChooseExpr(struct ::CppSharp::CppParser::AST::ChooseExpr* native); + ChooseExpr(struct ::CppSharp::CppParser::AST::ChooseExpr* native, bool ownNativeInstance); static ChooseExpr^ __CreateInstance(::System::IntPtr native); static ChooseExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ChooseExpr(); @@ -2123,8 +2123,8 @@ namespace CppSharp { public: - GNUNullExpr(::CppSharp::CppParser::AST::GNUNullExpr* native); - GNUNullExpr(::CppSharp::CppParser::AST::GNUNullExpr* native, bool ownNativeInstance); + GNUNullExpr(struct ::CppSharp::CppParser::AST::GNUNullExpr* native); + GNUNullExpr(struct ::CppSharp::CppParser::AST::GNUNullExpr* native, bool ownNativeInstance); static GNUNullExpr^ __CreateInstance(::System::IntPtr native); static GNUNullExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); GNUNullExpr(); @@ -2144,8 +2144,8 @@ namespace CppSharp { public: - VAArgExpr(::CppSharp::CppParser::AST::VAArgExpr* native); - VAArgExpr(::CppSharp::CppParser::AST::VAArgExpr* native, bool ownNativeInstance); + VAArgExpr(struct ::CppSharp::CppParser::AST::VAArgExpr* native); + VAArgExpr(struct ::CppSharp::CppParser::AST::VAArgExpr* native, bool ownNativeInstance); static VAArgExpr^ __CreateInstance(::System::IntPtr native); static VAArgExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VAArgExpr(); @@ -2183,8 +2183,8 @@ namespace CppSharp { public: - InitListExpr(::CppSharp::CppParser::AST::InitListExpr* native); - InitListExpr(::CppSharp::CppParser::AST::InitListExpr* native, bool ownNativeInstance); + InitListExpr(struct ::CppSharp::CppParser::AST::InitListExpr* native); + InitListExpr(struct ::CppSharp::CppParser::AST::InitListExpr* native, bool ownNativeInstance); static InitListExpr^ __CreateInstance(::System::IntPtr native); static InitListExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); InitListExpr(); @@ -2274,15 +2274,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Designator(::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native); - Designator(::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native, bool ownNativeInstance); + Designator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native); + Designator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::Designator* native, bool ownNativeInstance); static Designator^ __CreateInstance(::System::IntPtr native); static Designator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Designator(); @@ -2366,15 +2366,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - FieldDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native); - FieldDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native, bool ownNativeInstance); + FieldDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native); + FieldDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::FieldDesignator* native, bool ownNativeInstance); static FieldDesignator^ __CreateInstance(::System::IntPtr native); static FieldDesignator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FieldDesignator(); @@ -2392,15 +2392,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ArrayOrRangeDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native); - ArrayOrRangeDesignator(::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native, bool ownNativeInstance); + ArrayOrRangeDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native); + ArrayOrRangeDesignator(struct ::CppSharp::CppParser::AST::DesignatedInitExpr::ArrayOrRangeDesignator* native, bool ownNativeInstance); static ArrayOrRangeDesignator^ __CreateInstance(::System::IntPtr native); static ArrayOrRangeDesignator^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArrayOrRangeDesignator(); @@ -2414,8 +2414,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - DesignatedInitExpr(::CppSharp::CppParser::AST::DesignatedInitExpr* native); - DesignatedInitExpr(::CppSharp::CppParser::AST::DesignatedInitExpr* native, bool ownNativeInstance); + DesignatedInitExpr(struct ::CppSharp::CppParser::AST::DesignatedInitExpr* native); + DesignatedInitExpr(struct ::CppSharp::CppParser::AST::DesignatedInitExpr* native, bool ownNativeInstance); static DesignatedInitExpr^ __CreateInstance(::System::IntPtr native); static DesignatedInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DesignatedInitExpr(); @@ -2465,8 +2465,8 @@ namespace CppSharp { public: - NoInitExpr(::CppSharp::CppParser::AST::NoInitExpr* native); - NoInitExpr(::CppSharp::CppParser::AST::NoInitExpr* native, bool ownNativeInstance); + NoInitExpr(struct ::CppSharp::CppParser::AST::NoInitExpr* native); + NoInitExpr(struct ::CppSharp::CppParser::AST::NoInitExpr* native, bool ownNativeInstance); static NoInitExpr^ __CreateInstance(::System::IntPtr native); static NoInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); NoInitExpr(); @@ -2480,8 +2480,8 @@ namespace CppSharp { public: - DesignatedInitUpdateExpr(::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native); - DesignatedInitUpdateExpr(::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native, bool ownNativeInstance); + DesignatedInitUpdateExpr(struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native); + DesignatedInitUpdateExpr(struct ::CppSharp::CppParser::AST::DesignatedInitUpdateExpr* native, bool ownNativeInstance); static DesignatedInitUpdateExpr^ __CreateInstance(::System::IntPtr native); static DesignatedInitUpdateExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DesignatedInitUpdateExpr(); @@ -2507,8 +2507,8 @@ namespace CppSharp { public: - ArrayInitLoopExpr(::CppSharp::CppParser::AST::ArrayInitLoopExpr* native); - ArrayInitLoopExpr(::CppSharp::CppParser::AST::ArrayInitLoopExpr* native, bool ownNativeInstance); + ArrayInitLoopExpr(struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr* native); + ArrayInitLoopExpr(struct ::CppSharp::CppParser::AST::ArrayInitLoopExpr* native, bool ownNativeInstance); static ArrayInitLoopExpr^ __CreateInstance(::System::IntPtr native); static ArrayInitLoopExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArrayInitLoopExpr(); @@ -2534,8 +2534,8 @@ namespace CppSharp { public: - ArrayInitIndexExpr(::CppSharp::CppParser::AST::ArrayInitIndexExpr* native); - ArrayInitIndexExpr(::CppSharp::CppParser::AST::ArrayInitIndexExpr* native, bool ownNativeInstance); + ArrayInitIndexExpr(struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr* native); + ArrayInitIndexExpr(struct ::CppSharp::CppParser::AST::ArrayInitIndexExpr* native, bool ownNativeInstance); static ArrayInitIndexExpr^ __CreateInstance(::System::IntPtr native); static ArrayInitIndexExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArrayInitIndexExpr(); @@ -2549,8 +2549,8 @@ namespace CppSharp { public: - ImplicitValueInitExpr(::CppSharp::CppParser::AST::ImplicitValueInitExpr* native); - ImplicitValueInitExpr(::CppSharp::CppParser::AST::ImplicitValueInitExpr* native, bool ownNativeInstance); + ImplicitValueInitExpr(struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr* native); + ImplicitValueInitExpr(struct ::CppSharp::CppParser::AST::ImplicitValueInitExpr* native, bool ownNativeInstance); static ImplicitValueInitExpr^ __CreateInstance(::System::IntPtr native); static ImplicitValueInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ImplicitValueInitExpr(); @@ -2564,8 +2564,8 @@ namespace CppSharp { public: - ParenListExpr(::CppSharp::CppParser::AST::ParenListExpr* native); - ParenListExpr(::CppSharp::CppParser::AST::ParenListExpr* native, bool ownNativeInstance); + ParenListExpr(struct ::CppSharp::CppParser::AST::ParenListExpr* native); + ParenListExpr(struct ::CppSharp::CppParser::AST::ParenListExpr* native, bool ownNativeInstance); static ParenListExpr^ __CreateInstance(::System::IntPtr native); static ParenListExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParenListExpr(); @@ -2597,8 +2597,8 @@ namespace CppSharp { public: - GenericSelectionExpr(::CppSharp::CppParser::AST::GenericSelectionExpr* native); - GenericSelectionExpr(::CppSharp::CppParser::AST::GenericSelectionExpr* native, bool ownNativeInstance); + GenericSelectionExpr(struct ::CppSharp::CppParser::AST::GenericSelectionExpr* native); + GenericSelectionExpr(struct ::CppSharp::CppParser::AST::GenericSelectionExpr* native, bool ownNativeInstance); static GenericSelectionExpr^ __CreateInstance(::System::IntPtr native); static GenericSelectionExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); GenericSelectionExpr(); @@ -2660,8 +2660,8 @@ namespace CppSharp { public: - ExtVectorElementExpr(::CppSharp::CppParser::AST::ExtVectorElementExpr* native); - ExtVectorElementExpr(::CppSharp::CppParser::AST::ExtVectorElementExpr* native, bool ownNativeInstance); + ExtVectorElementExpr(struct ::CppSharp::CppParser::AST::ExtVectorElementExpr* native); + ExtVectorElementExpr(struct ::CppSharp::CppParser::AST::ExtVectorElementExpr* native, bool ownNativeInstance); static ExtVectorElementExpr^ __CreateInstance(::System::IntPtr native); static ExtVectorElementExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ExtVectorElementExpr(); @@ -2705,8 +2705,8 @@ namespace CppSharp { public: - BlockExpr(::CppSharp::CppParser::AST::BlockExpr* native); - BlockExpr(::CppSharp::CppParser::AST::BlockExpr* native, bool ownNativeInstance); + BlockExpr(struct ::CppSharp::CppParser::AST::BlockExpr* native); + BlockExpr(struct ::CppSharp::CppParser::AST::BlockExpr* native, bool ownNativeInstance); static BlockExpr^ __CreateInstance(::System::IntPtr native); static BlockExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BlockExpr(); @@ -2732,8 +2732,8 @@ namespace CppSharp { public: - AsTypeExpr(::CppSharp::CppParser::AST::AsTypeExpr* native); - AsTypeExpr(::CppSharp::CppParser::AST::AsTypeExpr* native, bool ownNativeInstance); + AsTypeExpr(struct ::CppSharp::CppParser::AST::AsTypeExpr* native); + AsTypeExpr(struct ::CppSharp::CppParser::AST::AsTypeExpr* native, bool ownNativeInstance); static AsTypeExpr^ __CreateInstance(::System::IntPtr native); static AsTypeExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AsTypeExpr(); @@ -2765,8 +2765,8 @@ namespace CppSharp { public: - PseudoObjectExpr(::CppSharp::CppParser::AST::PseudoObjectExpr* native); - PseudoObjectExpr(::CppSharp::CppParser::AST::PseudoObjectExpr* native, bool ownNativeInstance); + PseudoObjectExpr(struct ::CppSharp::CppParser::AST::PseudoObjectExpr* native); + PseudoObjectExpr(struct ::CppSharp::CppParser::AST::PseudoObjectExpr* native, bool ownNativeInstance); static PseudoObjectExpr^ __CreateInstance(::System::IntPtr native); static PseudoObjectExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PseudoObjectExpr(); @@ -2854,8 +2854,8 @@ namespace CppSharp AtomicFetchMax = 45 }; - AtomicExpr(::CppSharp::CppParser::AST::AtomicExpr* native); - AtomicExpr(::CppSharp::CppParser::AST::AtomicExpr* native, bool ownNativeInstance); + AtomicExpr(struct ::CppSharp::CppParser::AST::AtomicExpr* native); + AtomicExpr(struct ::CppSharp::CppParser::AST::AtomicExpr* native, bool ownNativeInstance); static AtomicExpr^ __CreateInstance(::System::IntPtr native); static AtomicExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AtomicExpr(); @@ -2959,8 +2959,8 @@ namespace CppSharp { public: - TypoExpr(::CppSharp::CppParser::AST::TypoExpr* native); - TypoExpr(::CppSharp::CppParser::AST::TypoExpr* native, bool ownNativeInstance); + TypoExpr(struct ::CppSharp::CppParser::AST::TypoExpr* native); + TypoExpr(struct ::CppSharp::CppParser::AST::TypoExpr* native, bool ownNativeInstance); static TypoExpr^ __CreateInstance(::System::IntPtr native); static TypoExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypoExpr(); @@ -2974,8 +2974,8 @@ namespace CppSharp { public: - CXXOperatorCallExpr(::CppSharp::CppParser::AST::CXXOperatorCallExpr* native); - CXXOperatorCallExpr(::CppSharp::CppParser::AST::CXXOperatorCallExpr* native, bool ownNativeInstance); + CXXOperatorCallExpr(struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr* native); + CXXOperatorCallExpr(struct ::CppSharp::CppParser::AST::CXXOperatorCallExpr* native, bool ownNativeInstance); static CXXOperatorCallExpr^ __CreateInstance(::System::IntPtr native); static CXXOperatorCallExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXOperatorCallExpr(); @@ -3013,8 +3013,8 @@ namespace CppSharp { public: - CXXMemberCallExpr(::CppSharp::CppParser::AST::CXXMemberCallExpr* native); - CXXMemberCallExpr(::CppSharp::CppParser::AST::CXXMemberCallExpr* native, bool ownNativeInstance); + CXXMemberCallExpr(struct ::CppSharp::CppParser::AST::CXXMemberCallExpr* native); + CXXMemberCallExpr(struct ::CppSharp::CppParser::AST::CXXMemberCallExpr* native, bool ownNativeInstance); static CXXMemberCallExpr^ __CreateInstance(::System::IntPtr native); static CXXMemberCallExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXMemberCallExpr(); @@ -3040,8 +3040,8 @@ namespace CppSharp { public: - CUDAKernelCallExpr(::CppSharp::CppParser::AST::CUDAKernelCallExpr* native); - CUDAKernelCallExpr(::CppSharp::CppParser::AST::CUDAKernelCallExpr* native, bool ownNativeInstance); + CUDAKernelCallExpr(struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr* native); + CUDAKernelCallExpr(struct ::CppSharp::CppParser::AST::CUDAKernelCallExpr* native, bool ownNativeInstance); static CUDAKernelCallExpr^ __CreateInstance(::System::IntPtr native); static CUDAKernelCallExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CUDAKernelCallExpr(); @@ -3061,8 +3061,8 @@ namespace CppSharp { public: - CXXNamedCastExpr(::CppSharp::CppParser::AST::CXXNamedCastExpr* native); - CXXNamedCastExpr(::CppSharp::CppParser::AST::CXXNamedCastExpr* native, bool ownNativeInstance); + CXXNamedCastExpr(struct ::CppSharp::CppParser::AST::CXXNamedCastExpr* native); + CXXNamedCastExpr(struct ::CppSharp::CppParser::AST::CXXNamedCastExpr* native, bool ownNativeInstance); static CXXNamedCastExpr^ __CreateInstance(::System::IntPtr native); static CXXNamedCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXNamedCastExpr(); @@ -3073,10 +3073,10 @@ namespace CppSharp ~CXXNamedCastExpr(); - property System::String^ CastName + property ::System::String^ CastName { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::SourceLocation OperatorLoc @@ -3104,8 +3104,8 @@ namespace CppSharp { public: - CXXStaticCastExpr(::CppSharp::CppParser::AST::CXXStaticCastExpr* native); - CXXStaticCastExpr(::CppSharp::CppParser::AST::CXXStaticCastExpr* native, bool ownNativeInstance); + CXXStaticCastExpr(struct ::CppSharp::CppParser::AST::CXXStaticCastExpr* native); + CXXStaticCastExpr(struct ::CppSharp::CppParser::AST::CXXStaticCastExpr* native, bool ownNativeInstance); static CXXStaticCastExpr^ __CreateInstance(::System::IntPtr native); static CXXStaticCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXStaticCastExpr(); @@ -3119,8 +3119,8 @@ namespace CppSharp { public: - CXXDynamicCastExpr(::CppSharp::CppParser::AST::CXXDynamicCastExpr* native); - CXXDynamicCastExpr(::CppSharp::CppParser::AST::CXXDynamicCastExpr* native, bool ownNativeInstance); + CXXDynamicCastExpr(struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr* native); + CXXDynamicCastExpr(struct ::CppSharp::CppParser::AST::CXXDynamicCastExpr* native, bool ownNativeInstance); static CXXDynamicCastExpr^ __CreateInstance(::System::IntPtr native); static CXXDynamicCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXDynamicCastExpr(); @@ -3140,8 +3140,8 @@ namespace CppSharp { public: - CXXReinterpretCastExpr(::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native); - CXXReinterpretCastExpr(::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native, bool ownNativeInstance); + CXXReinterpretCastExpr(struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native); + CXXReinterpretCastExpr(struct ::CppSharp::CppParser::AST::CXXReinterpretCastExpr* native, bool ownNativeInstance); static CXXReinterpretCastExpr^ __CreateInstance(::System::IntPtr native); static CXXReinterpretCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXReinterpretCastExpr(); @@ -3155,8 +3155,8 @@ namespace CppSharp { public: - CXXConstCastExpr(::CppSharp::CppParser::AST::CXXConstCastExpr* native); - CXXConstCastExpr(::CppSharp::CppParser::AST::CXXConstCastExpr* native, bool ownNativeInstance); + CXXConstCastExpr(struct ::CppSharp::CppParser::AST::CXXConstCastExpr* native); + CXXConstCastExpr(struct ::CppSharp::CppParser::AST::CXXConstCastExpr* native, bool ownNativeInstance); static CXXConstCastExpr^ __CreateInstance(::System::IntPtr native); static CXXConstCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXConstCastExpr(); @@ -3180,8 +3180,8 @@ namespace CppSharp Character = 5 }; - UserDefinedLiteral(::CppSharp::CppParser::AST::UserDefinedLiteral* native); - UserDefinedLiteral(::CppSharp::CppParser::AST::UserDefinedLiteral* native, bool ownNativeInstance); + UserDefinedLiteral(struct ::CppSharp::CppParser::AST::UserDefinedLiteral* native); + UserDefinedLiteral(struct ::CppSharp::CppParser::AST::UserDefinedLiteral* native, bool ownNativeInstance); static UserDefinedLiteral^ __CreateInstance(::System::IntPtr native); static UserDefinedLiteral^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UserDefinedLiteral(); @@ -3213,8 +3213,8 @@ namespace CppSharp { public: - CXXBoolLiteralExpr(::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native); - CXXBoolLiteralExpr(::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native, bool ownNativeInstance); + CXXBoolLiteralExpr(struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native); + CXXBoolLiteralExpr(struct ::CppSharp::CppParser::AST::CXXBoolLiteralExpr* native, bool ownNativeInstance); static CXXBoolLiteralExpr^ __CreateInstance(::System::IntPtr native); static CXXBoolLiteralExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXBoolLiteralExpr(); @@ -3240,8 +3240,8 @@ namespace CppSharp { public: - CXXNullPtrLiteralExpr(::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native); - CXXNullPtrLiteralExpr(::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native, bool ownNativeInstance); + CXXNullPtrLiteralExpr(struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native); + CXXNullPtrLiteralExpr(struct ::CppSharp::CppParser::AST::CXXNullPtrLiteralExpr* native, bool ownNativeInstance); static CXXNullPtrLiteralExpr^ __CreateInstance(::System::IntPtr native); static CXXNullPtrLiteralExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXNullPtrLiteralExpr(); @@ -3261,8 +3261,8 @@ namespace CppSharp { public: - CXXStdInitializerListExpr(::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native); - CXXStdInitializerListExpr(::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native, bool ownNativeInstance); + CXXStdInitializerListExpr(struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native); + CXXStdInitializerListExpr(struct ::CppSharp::CppParser::AST::CXXStdInitializerListExpr* native, bool ownNativeInstance); static CXXStdInitializerListExpr^ __CreateInstance(::System::IntPtr native); static CXXStdInitializerListExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXStdInitializerListExpr(); @@ -3282,8 +3282,8 @@ namespace CppSharp { public: - CXXTypeidExpr(::CppSharp::CppParser::AST::CXXTypeidExpr* native); - CXXTypeidExpr(::CppSharp::CppParser::AST::CXXTypeidExpr* native, bool ownNativeInstance); + CXXTypeidExpr(struct ::CppSharp::CppParser::AST::CXXTypeidExpr* native); + CXXTypeidExpr(struct ::CppSharp::CppParser::AST::CXXTypeidExpr* native, bool ownNativeInstance); static CXXTypeidExpr^ __CreateInstance(::System::IntPtr native); static CXXTypeidExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXTypeidExpr(); @@ -3315,8 +3315,8 @@ namespace CppSharp { public: - MSPropertyRefExpr(::CppSharp::CppParser::AST::MSPropertyRefExpr* native); - MSPropertyRefExpr(::CppSharp::CppParser::AST::MSPropertyRefExpr* native, bool ownNativeInstance); + MSPropertyRefExpr(struct ::CppSharp::CppParser::AST::MSPropertyRefExpr* native); + MSPropertyRefExpr(struct ::CppSharp::CppParser::AST::MSPropertyRefExpr* native, bool ownNativeInstance); static MSPropertyRefExpr^ __CreateInstance(::System::IntPtr native); static MSPropertyRefExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MSPropertyRefExpr(); @@ -3354,8 +3354,8 @@ namespace CppSharp { public: - MSPropertySubscriptExpr(::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native); - MSPropertySubscriptExpr(::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native, bool ownNativeInstance); + MSPropertySubscriptExpr(struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native); + MSPropertySubscriptExpr(struct ::CppSharp::CppParser::AST::MSPropertySubscriptExpr* native, bool ownNativeInstance); static MSPropertySubscriptExpr^ __CreateInstance(::System::IntPtr native); static MSPropertySubscriptExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MSPropertySubscriptExpr(); @@ -3387,8 +3387,8 @@ namespace CppSharp { public: - CXXUuidofExpr(::CppSharp::CppParser::AST::CXXUuidofExpr* native); - CXXUuidofExpr(::CppSharp::CppParser::AST::CXXUuidofExpr* native, bool ownNativeInstance); + CXXUuidofExpr(struct ::CppSharp::CppParser::AST::CXXUuidofExpr* native); + CXXUuidofExpr(struct ::CppSharp::CppParser::AST::CXXUuidofExpr* native, bool ownNativeInstance); static CXXUuidofExpr^ __CreateInstance(::System::IntPtr native); static CXXUuidofExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXUuidofExpr(); @@ -3403,10 +3403,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Expr^); } - property System::String^ UuidStr + property ::System::String^ UuidStr { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property bool IsTypeOperand @@ -3420,8 +3420,8 @@ namespace CppSharp { public: - CXXThisExpr(::CppSharp::CppParser::AST::CXXThisExpr* native); - CXXThisExpr(::CppSharp::CppParser::AST::CXXThisExpr* native, bool ownNativeInstance); + CXXThisExpr(struct ::CppSharp::CppParser::AST::CXXThisExpr* native); + CXXThisExpr(struct ::CppSharp::CppParser::AST::CXXThisExpr* native, bool ownNativeInstance); static CXXThisExpr^ __CreateInstance(::System::IntPtr native); static CXXThisExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXThisExpr(); @@ -3447,8 +3447,8 @@ namespace CppSharp { public: - CXXThrowExpr(::CppSharp::CppParser::AST::CXXThrowExpr* native); - CXXThrowExpr(::CppSharp::CppParser::AST::CXXThrowExpr* native, bool ownNativeInstance); + CXXThrowExpr(struct ::CppSharp::CppParser::AST::CXXThrowExpr* native); + CXXThrowExpr(struct ::CppSharp::CppParser::AST::CXXThrowExpr* native, bool ownNativeInstance); static CXXThrowExpr^ __CreateInstance(::System::IntPtr native); static CXXThrowExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXThrowExpr(); @@ -3480,8 +3480,8 @@ namespace CppSharp { public: - CXXDefaultArgExpr(::CppSharp::CppParser::AST::CXXDefaultArgExpr* native); - CXXDefaultArgExpr(::CppSharp::CppParser::AST::CXXDefaultArgExpr* native, bool ownNativeInstance); + CXXDefaultArgExpr(struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr* native); + CXXDefaultArgExpr(struct ::CppSharp::CppParser::AST::CXXDefaultArgExpr* native, bool ownNativeInstance); static CXXDefaultArgExpr^ __CreateInstance(::System::IntPtr native); static CXXDefaultArgExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXDefaultArgExpr(); @@ -3507,8 +3507,8 @@ namespace CppSharp { public: - CXXDefaultInitExpr(::CppSharp::CppParser::AST::CXXDefaultInitExpr* native); - CXXDefaultInitExpr(::CppSharp::CppParser::AST::CXXDefaultInitExpr* native, bool ownNativeInstance); + CXXDefaultInitExpr(struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr* native); + CXXDefaultInitExpr(struct ::CppSharp::CppParser::AST::CXXDefaultInitExpr* native, bool ownNativeInstance); static CXXDefaultInitExpr^ __CreateInstance(::System::IntPtr native); static CXXDefaultInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXDefaultInitExpr(); @@ -3534,8 +3534,8 @@ namespace CppSharp { public: - CXXBindTemporaryExpr(::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native); - CXXBindTemporaryExpr(::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native, bool ownNativeInstance); + CXXBindTemporaryExpr(struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native); + CXXBindTemporaryExpr(struct ::CppSharp::CppParser::AST::CXXBindTemporaryExpr* native, bool ownNativeInstance); static CXXBindTemporaryExpr^ __CreateInstance(::System::IntPtr native); static CXXBindTemporaryExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXBindTemporaryExpr(); @@ -3563,8 +3563,8 @@ namespace CppSharp Delegating = 3 }; - CXXConstructExpr(::CppSharp::CppParser::AST::CXXConstructExpr* native); - CXXConstructExpr(::CppSharp::CppParser::AST::CXXConstructExpr* native, bool ownNativeInstance); + CXXConstructExpr(struct ::CppSharp::CppParser::AST::CXXConstructExpr* native); + CXXConstructExpr(struct ::CppSharp::CppParser::AST::CXXConstructExpr* native, bool ownNativeInstance); static CXXConstructExpr^ __CreateInstance(::System::IntPtr native); static CXXConstructExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXConstructExpr(); @@ -3575,10 +3575,10 @@ namespace CppSharp ~CXXConstructExpr(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::SourceLocation Location @@ -3647,8 +3647,8 @@ namespace CppSharp { public: - CXXInheritedCtorInitExpr(::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native); - CXXInheritedCtorInitExpr(::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native, bool ownNativeInstance); + CXXInheritedCtorInitExpr(struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native); + CXXInheritedCtorInitExpr(struct ::CppSharp::CppParser::AST::CXXInheritedCtorInitExpr* native, bool ownNativeInstance); static CXXInheritedCtorInitExpr^ __CreateInstance(::System::IntPtr native); static CXXInheritedCtorInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXInheritedCtorInitExpr(); @@ -3680,8 +3680,8 @@ namespace CppSharp { public: - CXXFunctionalCastExpr(::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native); - CXXFunctionalCastExpr(::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native, bool ownNativeInstance); + CXXFunctionalCastExpr(struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native); + CXXFunctionalCastExpr(struct ::CppSharp::CppParser::AST::CXXFunctionalCastExpr* native, bool ownNativeInstance); static CXXFunctionalCastExpr^ __CreateInstance(::System::IntPtr native); static CXXFunctionalCastExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXFunctionalCastExpr(); @@ -3713,8 +3713,8 @@ namespace CppSharp { public: - CXXTemporaryObjectExpr(::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native); - CXXTemporaryObjectExpr(::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native, bool ownNativeInstance); + CXXTemporaryObjectExpr(struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native); + CXXTemporaryObjectExpr(struct ::CppSharp::CppParser::AST::CXXTemporaryObjectExpr* native, bool ownNativeInstance); static CXXTemporaryObjectExpr^ __CreateInstance(::System::IntPtr native); static CXXTemporaryObjectExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXTemporaryObjectExpr(); @@ -3728,8 +3728,8 @@ namespace CppSharp { public: - LambdaExpr(::CppSharp::CppParser::AST::LambdaExpr* native); - LambdaExpr(::CppSharp::CppParser::AST::LambdaExpr* native, bool ownNativeInstance); + LambdaExpr(struct ::CppSharp::CppParser::AST::LambdaExpr* native); + LambdaExpr(struct ::CppSharp::CppParser::AST::LambdaExpr* native, bool ownNativeInstance); static LambdaExpr^ __CreateInstance(::System::IntPtr native); static LambdaExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); LambdaExpr(); @@ -3738,10 +3738,10 @@ namespace CppSharp ~LambdaExpr(); - property System::Collections::Generic::List^ CaptureInits + property ::System::Collections::Generic::List^ CaptureInits { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::SourceLocation CaptureDefaultLoc @@ -3814,8 +3814,8 @@ namespace CppSharp { public: - CXXScalarValueInitExpr(::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native); - CXXScalarValueInitExpr(::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native, bool ownNativeInstance); + CXXScalarValueInitExpr(struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native); + CXXScalarValueInitExpr(struct ::CppSharp::CppParser::AST::CXXScalarValueInitExpr* native, bool ownNativeInstance); static CXXScalarValueInitExpr^ __CreateInstance(::System::IntPtr native); static CXXScalarValueInitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXScalarValueInitExpr(); @@ -3842,8 +3842,8 @@ namespace CppSharp ListInit = 2 }; - CXXNewExpr(::CppSharp::CppParser::AST::CXXNewExpr* native); - CXXNewExpr(::CppSharp::CppParser::AST::CXXNewExpr* native, bool ownNativeInstance); + CXXNewExpr(struct ::CppSharp::CppParser::AST::CXXNewExpr* native); + CXXNewExpr(struct ::CppSharp::CppParser::AST::CXXNewExpr* native, bool ownNativeInstance); static CXXNewExpr^ __CreateInstance(::System::IntPtr native); static CXXNewExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXNewExpr(); @@ -3852,10 +3852,10 @@ namespace CppSharp ~CXXNewExpr(); - property System::Collections::Generic::List^ PlacementArguments + property ::System::Collections::Generic::List^ PlacementArguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::Function^ OperatorNew @@ -3958,8 +3958,8 @@ namespace CppSharp { public: - CXXDeleteExpr(::CppSharp::CppParser::AST::CXXDeleteExpr* native); - CXXDeleteExpr(::CppSharp::CppParser::AST::CXXDeleteExpr* native, bool ownNativeInstance); + CXXDeleteExpr(struct ::CppSharp::CppParser::AST::CXXDeleteExpr* native); + CXXDeleteExpr(struct ::CppSharp::CppParser::AST::CXXDeleteExpr* native, bool ownNativeInstance); static CXXDeleteExpr^ __CreateInstance(::System::IntPtr native); static CXXDeleteExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXDeleteExpr(); @@ -4009,8 +4009,8 @@ namespace CppSharp { public: - CXXPseudoDestructorExpr(::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native); - CXXPseudoDestructorExpr(::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native, bool ownNativeInstance); + CXXPseudoDestructorExpr(struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native); + CXXPseudoDestructorExpr(struct ::CppSharp::CppParser::AST::CXXPseudoDestructorExpr* native, bool ownNativeInstance); static CXXPseudoDestructorExpr^ __CreateInstance(::System::IntPtr native); static CXXPseudoDestructorExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXPseudoDestructorExpr(); @@ -4072,8 +4072,8 @@ namespace CppSharp { public: - TypeTraitExpr(::CppSharp::CppParser::AST::TypeTraitExpr* native); - TypeTraitExpr(::CppSharp::CppParser::AST::TypeTraitExpr* native, bool ownNativeInstance); + TypeTraitExpr(struct ::CppSharp::CppParser::AST::TypeTraitExpr* native); + TypeTraitExpr(struct ::CppSharp::CppParser::AST::TypeTraitExpr* native, bool ownNativeInstance); static TypeTraitExpr^ __CreateInstance(::System::IntPtr native); static TypeTraitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypeTraitExpr(); @@ -4099,8 +4099,8 @@ namespace CppSharp { public: - ArrayTypeTraitExpr(::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native); - ArrayTypeTraitExpr(::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native, bool ownNativeInstance); + ArrayTypeTraitExpr(struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native); + ArrayTypeTraitExpr(struct ::CppSharp::CppParser::AST::ArrayTypeTraitExpr* native, bool ownNativeInstance); static ArrayTypeTraitExpr^ __CreateInstance(::System::IntPtr native); static ArrayTypeTraitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArrayTypeTraitExpr(); @@ -4132,8 +4132,8 @@ namespace CppSharp { public: - ExpressionTraitExpr(::CppSharp::CppParser::AST::ExpressionTraitExpr* native); - ExpressionTraitExpr(::CppSharp::CppParser::AST::ExpressionTraitExpr* native, bool ownNativeInstance); + ExpressionTraitExpr(struct ::CppSharp::CppParser::AST::ExpressionTraitExpr* native); + ExpressionTraitExpr(struct ::CppSharp::CppParser::AST::ExpressionTraitExpr* native, bool ownNativeInstance); static ExpressionTraitExpr^ __CreateInstance(::System::IntPtr native); static ExpressionTraitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ExpressionTraitExpr(); @@ -4163,15 +4163,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::OverloadExpr::FindResult* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - FindResult(::CppSharp::CppParser::AST::OverloadExpr::FindResult* native); - FindResult(::CppSharp::CppParser::AST::OverloadExpr::FindResult* native, bool ownNativeInstance); + FindResult(struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult* native); + FindResult(struct ::CppSharp::CppParser::AST::OverloadExpr::FindResult* native, bool ownNativeInstance); static FindResult^ __CreateInstance(::System::IntPtr native); static FindResult^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FindResult(); @@ -4185,8 +4185,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - OverloadExpr(::CppSharp::CppParser::AST::OverloadExpr* native); - OverloadExpr(::CppSharp::CppParser::AST::OverloadExpr* native, bool ownNativeInstance); + OverloadExpr(struct ::CppSharp::CppParser::AST::OverloadExpr* native); + OverloadExpr(struct ::CppSharp::CppParser::AST::OverloadExpr* native, bool ownNativeInstance); static OverloadExpr^ __CreateInstance(::System::IntPtr native); static OverloadExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); OverloadExpr(); @@ -4252,8 +4252,8 @@ namespace CppSharp { public: - UnresolvedLookupExpr(::CppSharp::CppParser::AST::UnresolvedLookupExpr* native); - UnresolvedLookupExpr(::CppSharp::CppParser::AST::UnresolvedLookupExpr* native, bool ownNativeInstance); + UnresolvedLookupExpr(struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr* native); + UnresolvedLookupExpr(struct ::CppSharp::CppParser::AST::UnresolvedLookupExpr* native, bool ownNativeInstance); static UnresolvedLookupExpr^ __CreateInstance(::System::IntPtr native); static UnresolvedLookupExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnresolvedLookupExpr(); @@ -4279,8 +4279,8 @@ namespace CppSharp { public: - DependentScopeDeclRefExpr(::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native); - DependentScopeDeclRefExpr(::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native, bool ownNativeInstance); + DependentScopeDeclRefExpr(struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native); + DependentScopeDeclRefExpr(struct ::CppSharp::CppParser::AST::DependentScopeDeclRefExpr* native, bool ownNativeInstance); static DependentScopeDeclRefExpr^ __CreateInstance(::System::IntPtr native); static DependentScopeDeclRefExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DependentScopeDeclRefExpr(); @@ -4336,8 +4336,8 @@ namespace CppSharp { public: - ExprWithCleanups(::CppSharp::CppParser::AST::ExprWithCleanups* native); - ExprWithCleanups(::CppSharp::CppParser::AST::ExprWithCleanups* native, bool ownNativeInstance); + ExprWithCleanups(struct ::CppSharp::CppParser::AST::ExprWithCleanups* native); + ExprWithCleanups(struct ::CppSharp::CppParser::AST::ExprWithCleanups* native, bool ownNativeInstance); static ExprWithCleanups^ __CreateInstance(::System::IntPtr native); static ExprWithCleanups^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ExprWithCleanups(); @@ -4363,8 +4363,8 @@ namespace CppSharp { public: - CXXUnresolvedConstructExpr(::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native); - CXXUnresolvedConstructExpr(::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native, bool ownNativeInstance); + CXXUnresolvedConstructExpr(struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native); + CXXUnresolvedConstructExpr(struct ::CppSharp::CppParser::AST::CXXUnresolvedConstructExpr* native, bool ownNativeInstance); static CXXUnresolvedConstructExpr^ __CreateInstance(::System::IntPtr native); static CXXUnresolvedConstructExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXUnresolvedConstructExpr(); @@ -4373,10 +4373,10 @@ namespace CppSharp ~CXXUnresolvedConstructExpr(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::SourceLocation LParenLoc @@ -4425,8 +4425,8 @@ namespace CppSharp { public: - CXXDependentScopeMemberExpr(::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native); - CXXDependentScopeMemberExpr(::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native, bool ownNativeInstance); + CXXDependentScopeMemberExpr(struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native); + CXXDependentScopeMemberExpr(struct ::CppSharp::CppParser::AST::CXXDependentScopeMemberExpr* native, bool ownNativeInstance); static CXXDependentScopeMemberExpr^ __CreateInstance(::System::IntPtr native); static CXXDependentScopeMemberExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXDependentScopeMemberExpr(); @@ -4518,8 +4518,8 @@ namespace CppSharp { public: - UnresolvedMemberExpr(::CppSharp::CppParser::AST::UnresolvedMemberExpr* native); - UnresolvedMemberExpr(::CppSharp::CppParser::AST::UnresolvedMemberExpr* native, bool ownNativeInstance); + UnresolvedMemberExpr(struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr* native); + UnresolvedMemberExpr(struct ::CppSharp::CppParser::AST::UnresolvedMemberExpr* native, bool ownNativeInstance); static UnresolvedMemberExpr^ __CreateInstance(::System::IntPtr native); static UnresolvedMemberExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnresolvedMemberExpr(); @@ -4575,8 +4575,8 @@ namespace CppSharp { public: - CXXNoexceptExpr(::CppSharp::CppParser::AST::CXXNoexceptExpr* native); - CXXNoexceptExpr(::CppSharp::CppParser::AST::CXXNoexceptExpr* native, bool ownNativeInstance); + CXXNoexceptExpr(struct ::CppSharp::CppParser::AST::CXXNoexceptExpr* native); + CXXNoexceptExpr(struct ::CppSharp::CppParser::AST::CXXNoexceptExpr* native, bool ownNativeInstance); static CXXNoexceptExpr^ __CreateInstance(::System::IntPtr native); static CXXNoexceptExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXNoexceptExpr(); @@ -4602,8 +4602,8 @@ namespace CppSharp { public: - PackExpansionExpr(::CppSharp::CppParser::AST::PackExpansionExpr* native); - PackExpansionExpr(::CppSharp::CppParser::AST::PackExpansionExpr* native, bool ownNativeInstance); + PackExpansionExpr(struct ::CppSharp::CppParser::AST::PackExpansionExpr* native); + PackExpansionExpr(struct ::CppSharp::CppParser::AST::PackExpansionExpr* native, bool ownNativeInstance); static PackExpansionExpr^ __CreateInstance(::System::IntPtr native); static PackExpansionExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PackExpansionExpr(); @@ -4629,8 +4629,8 @@ namespace CppSharp { public: - SizeOfPackExpr(::CppSharp::CppParser::AST::SizeOfPackExpr* native); - SizeOfPackExpr(::CppSharp::CppParser::AST::SizeOfPackExpr* native, bool ownNativeInstance); + SizeOfPackExpr(struct ::CppSharp::CppParser::AST::SizeOfPackExpr* native); + SizeOfPackExpr(struct ::CppSharp::CppParser::AST::SizeOfPackExpr* native, bool ownNativeInstance); static SizeOfPackExpr^ __CreateInstance(::System::IntPtr native); static SizeOfPackExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SizeOfPackExpr(); @@ -4680,8 +4680,8 @@ namespace CppSharp { public: - SubstNonTypeTemplateParmExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native); - SubstNonTypeTemplateParmExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native, bool ownNativeInstance); + SubstNonTypeTemplateParmExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native); + SubstNonTypeTemplateParmExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmExpr* native, bool ownNativeInstance); static SubstNonTypeTemplateParmExpr^ __CreateInstance(::System::IntPtr native); static SubstNonTypeTemplateParmExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SubstNonTypeTemplateParmExpr(); @@ -4707,8 +4707,8 @@ namespace CppSharp { public: - SubstNonTypeTemplateParmPackExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native); - SubstNonTypeTemplateParmPackExpr(::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native, bool ownNativeInstance); + SubstNonTypeTemplateParmPackExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native); + SubstNonTypeTemplateParmPackExpr(struct ::CppSharp::CppParser::AST::SubstNonTypeTemplateParmPackExpr* native, bool ownNativeInstance); static SubstNonTypeTemplateParmPackExpr^ __CreateInstance(::System::IntPtr native); static SubstNonTypeTemplateParmPackExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SubstNonTypeTemplateParmPackExpr(); @@ -4734,8 +4734,8 @@ namespace CppSharp { public: - FunctionParmPackExpr(::CppSharp::CppParser::AST::FunctionParmPackExpr* native); - FunctionParmPackExpr(::CppSharp::CppParser::AST::FunctionParmPackExpr* native, bool ownNativeInstance); + FunctionParmPackExpr(struct ::CppSharp::CppParser::AST::FunctionParmPackExpr* native); + FunctionParmPackExpr(struct ::CppSharp::CppParser::AST::FunctionParmPackExpr* native, bool ownNativeInstance); static FunctionParmPackExpr^ __CreateInstance(::System::IntPtr native); static FunctionParmPackExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FunctionParmPackExpr(); @@ -4765,15 +4765,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ExtraState(::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native); - ExtraState(::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native, bool ownNativeInstance); + ExtraState(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native); + ExtraState(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr::ExtraState* native, bool ownNativeInstance); static ExtraState^ __CreateInstance(::System::IntPtr native); static ExtraState^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ExtraState(); @@ -4787,8 +4787,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - MaterializeTemporaryExpr(::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native); - MaterializeTemporaryExpr(::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native, bool ownNativeInstance); + MaterializeTemporaryExpr(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native); + MaterializeTemporaryExpr(struct ::CppSharp::CppParser::AST::MaterializeTemporaryExpr* native, bool ownNativeInstance); static MaterializeTemporaryExpr^ __CreateInstance(::System::IntPtr native); static MaterializeTemporaryExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MaterializeTemporaryExpr(); @@ -4826,8 +4826,8 @@ namespace CppSharp { public: - CXXFoldExpr(::CppSharp::CppParser::AST::CXXFoldExpr* native); - CXXFoldExpr(::CppSharp::CppParser::AST::CXXFoldExpr* native, bool ownNativeInstance); + CXXFoldExpr(struct ::CppSharp::CppParser::AST::CXXFoldExpr* native); + CXXFoldExpr(struct ::CppSharp::CppParser::AST::CXXFoldExpr* native, bool ownNativeInstance); static CXXFoldExpr^ __CreateInstance(::System::IntPtr native); static CXXFoldExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXFoldExpr(); @@ -4898,8 +4898,8 @@ namespace CppSharp Count = 4 }; - CoroutineSuspendExpr(::CppSharp::CppParser::AST::CoroutineSuspendExpr* native); - CoroutineSuspendExpr(::CppSharp::CppParser::AST::CoroutineSuspendExpr* native, bool ownNativeInstance); + CoroutineSuspendExpr(struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr* native); + CoroutineSuspendExpr(struct ::CppSharp::CppParser::AST::CoroutineSuspendExpr* native, bool ownNativeInstance); static CoroutineSuspendExpr^ __CreateInstance(::System::IntPtr native); static CoroutineSuspendExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CoroutineSuspendExpr(); @@ -4953,8 +4953,8 @@ namespace CppSharp { public: - CoawaitExpr(::CppSharp::CppParser::AST::CoawaitExpr* native); - CoawaitExpr(::CppSharp::CppParser::AST::CoawaitExpr* native, bool ownNativeInstance); + CoawaitExpr(struct ::CppSharp::CppParser::AST::CoawaitExpr* native); + CoawaitExpr(struct ::CppSharp::CppParser::AST::CoawaitExpr* native, bool ownNativeInstance); static CoawaitExpr^ __CreateInstance(::System::IntPtr native); static CoawaitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CoawaitExpr(); @@ -4980,8 +4980,8 @@ namespace CppSharp { public: - DependentCoawaitExpr(::CppSharp::CppParser::AST::DependentCoawaitExpr* native); - DependentCoawaitExpr(::CppSharp::CppParser::AST::DependentCoawaitExpr* native, bool ownNativeInstance); + DependentCoawaitExpr(struct ::CppSharp::CppParser::AST::DependentCoawaitExpr* native); + DependentCoawaitExpr(struct ::CppSharp::CppParser::AST::DependentCoawaitExpr* native, bool ownNativeInstance); static DependentCoawaitExpr^ __CreateInstance(::System::IntPtr native); static DependentCoawaitExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DependentCoawaitExpr(); @@ -5013,8 +5013,8 @@ namespace CppSharp { public: - CoyieldExpr(::CppSharp::CppParser::AST::CoyieldExpr* native); - CoyieldExpr(::CppSharp::CppParser::AST::CoyieldExpr* native, bool ownNativeInstance); + CoyieldExpr(struct ::CppSharp::CppParser::AST::CoyieldExpr* native); + CoyieldExpr(struct ::CppSharp::CppParser::AST::CoyieldExpr* native, bool ownNativeInstance); static CoyieldExpr^ __CreateInstance(::System::IntPtr native); static CoyieldExpr^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CoyieldExpr(); diff --git a/src/CppParser/Bindings/CLI/Sources.cpp b/src/CppParser/Bindings/CLI/Sources.cpp index f8b7678d..31fe07ac 100644 --- a/src/CppParser/Bindings/CLI/Sources.cpp +++ b/src/CppParser/Bindings/CLI/Sources.cpp @@ -9,36 +9,36 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::SourceLocation::SourceLocation(::CppSharp::CppParser::SourceLocation* native) +CppSharp::Parser::SourceLocation::SourceLocation(struct ::CppSharp::CppParser::SourceLocation* native) { __ID = native->ID; } CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*) native.ToPointer()); + return gcnew ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*) native.ToPointer()); } -CppSharp::Parser::SourceLocation::SourceLocation(::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance) +CppSharp::Parser::SourceLocation::SourceLocation(struct ::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance) { __ID = native->ID; } CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::SourceLocation::SourceLocation(unsigned int ID) { - ::CppSharp::CppParser::SourceLocation _native(ID); + struct ::CppSharp::CppParser::SourceLocation _native(ID); this->ID = _native.ID; } CppSharp::Parser::SourceLocation::operator CppSharp::Parser::SourceLocation(unsigned int ID) { auto __ret = (::CppSharp::CppParser::SourceLocation) ID; - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&__ret); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&__ret); } unsigned int CppSharp::Parser::SourceLocation::ID::get() @@ -51,7 +51,7 @@ void CppSharp::Parser::SourceLocation::ID::set(unsigned int value) __ID = value; } -CppSharp::Parser::SourceRange::SourceRange(::CppSharp::CppParser::SourceRange* native) +CppSharp::Parser::SourceRange::SourceRange(struct ::CppSharp::CppParser::SourceRange* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -59,10 +59,10 @@ CppSharp::Parser::SourceRange::SourceRange(::CppSharp::CppParser::SourceRange* n CppSharp::Parser::SourceRange^ CppSharp::Parser::SourceRange::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*) native.ToPointer()); + return gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*) native.ToPointer()); } -CppSharp::Parser::SourceRange::SourceRange(::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance) +CppSharp::Parser::SourceRange::SourceRange(struct ::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -70,7 +70,7 @@ CppSharp::Parser::SourceRange::SourceRange(::CppSharp::CppParser::SourceRange* n CppSharp::Parser::SourceRange^ CppSharp::Parser::SourceRange::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::SourceRange::~SourceRange() @@ -83,47 +83,47 @@ CppSharp::Parser::SourceRange::SourceRange(CppSharp::Parser::SourceRange^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::SourceRange*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::SourceRange(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::SourceRange*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::SourceRange(__arg0); } CppSharp::Parser::SourceRange::SourceRange() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::SourceRange(); + NativePtr = new struct ::CppSharp::CppParser::SourceRange(); } -System::IntPtr CppSharp::Parser::SourceRange::__Instance::get() +::System::IntPtr CppSharp::Parser::SourceRange::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::SourceRange::__Instance::set(System::IntPtr object) +void CppSharp::Parser::SourceRange::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::SourceRange*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::SourceRange*)object.ToPointer(); } CppSharp::Parser::SourceLocation CppSharp::Parser::SourceRange::BeginLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::SourceRange*)NativePtr)->beginLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->beginLoc); } void CppSharp::Parser::SourceRange::BeginLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::SourceRange*)NativePtr)->beginLoc = _marshal0; + ((struct ::CppSharp::CppParser::SourceRange*)NativePtr)->beginLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::SourceRange::EndLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::SourceRange*)NativePtr)->endLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->endLoc); } void CppSharp::Parser::SourceRange::EndLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::SourceRange*)NativePtr)->endLoc = _marshal0; + ((struct ::CppSharp::CppParser::SourceRange*)NativePtr)->endLoc = _marshal0; } diff --git a/src/CppParser/Bindings/CLI/Sources.h b/src/CppParser/Bindings/CLI/Sources.h index 64003102..a95794e0 100644 --- a/src/CppParser/Bindings/CLI/Sources.h +++ b/src/CppParser/Bindings/CLI/Sources.h @@ -26,8 +26,8 @@ namespace CppSharp { public: - SourceLocation(::CppSharp::CppParser::SourceLocation* native); - SourceLocation(::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance); + SourceLocation(struct ::CppSharp::CppParser::SourceLocation* native); + SourceLocation(struct ::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance); static SourceLocation^ __CreateInstance(::System::IntPtr native); static SourceLocation^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SourceLocation(unsigned int ID); @@ -49,15 +49,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::SourceRange* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::SourceRange* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - SourceRange(::CppSharp::CppParser::SourceRange* native); - SourceRange(::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance); + SourceRange(struct ::CppSharp::CppParser::SourceRange* native); + SourceRange(struct ::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance); static SourceRange^ __CreateInstance(::System::IntPtr native); static SourceRange^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SourceRange(CppSharp::Parser::SourceRange^ _0); diff --git a/src/CppParser/Bindings/CLI/Stmt.cpp b/src/CppParser/Bindings/CLI/Stmt.cpp index ba4e1644..c82e5d8d 100644 --- a/src/CppParser/Bindings/CLI/Stmt.cpp +++ b/src/CppParser/Bindings/CLI/Stmt.cpp @@ -13,7 +13,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::AST::Stmt::Stmt(::CppSharp::CppParser::AST::Stmt* native) +CppSharp::Parser::AST::Stmt::Stmt(struct ::CppSharp::CppParser::AST::Stmt* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -21,10 +21,10 @@ CppSharp::Parser::AST::Stmt::Stmt(::CppSharp::CppParser::AST::Stmt* native) CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::Stmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*) native.ToPointer()); } -CppSharp::Parser::AST::Stmt::Stmt(::CppSharp::CppParser::AST::Stmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::Stmt::Stmt(struct ::CppSharp::CppParser::AST::Stmt* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -32,7 +32,7 @@ CppSharp::Parser::AST::Stmt::Stmt(::CppSharp::CppParser::AST::Stmt* native, bool CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::Stmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Stmt::~Stmt() @@ -43,14 +43,14 @@ CppSharp::Parser::AST::Stmt::~Stmt() CppSharp::Parser::AST::Stmt::Stmt() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::Stmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::Stmt(); } CppSharp::Parser::AST::Stmt::Stmt(CppSharp::Parser::AST::StmtClass klass) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::Stmt(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::Stmt(__arg0); } CppSharp::Parser::AST::Stmt::Stmt(CppSharp::Parser::AST::Stmt^ _0) @@ -58,92 +58,92 @@ CppSharp::Parser::AST::Stmt::Stmt(CppSharp::Parser::AST::Stmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Stmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Stmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Stmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Stmt(__arg0); } CppSharp::Parser::AST::Stmt::operator CppSharp::Parser::AST::Stmt^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::Stmt) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Stmt(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Stmt(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)____ret, true); } -System::IntPtr CppSharp::Parser::AST::Stmt::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::Stmt::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::Stmt::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::Stmt::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::Stmt*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::Stmt*)object.ToPointer(); } CppSharp::Parser::AST::StmtClass CppSharp::Parser::AST::Stmt::StmtClass::get() { - return (CppSharp::Parser::AST::StmtClass)((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stmtClass; + return (CppSharp::Parser::AST::StmtClass)NativePtr->stmtClass; } void CppSharp::Parser::AST::Stmt::StmtClass::set(CppSharp::Parser::AST::StmtClass value) { - ((::CppSharp::CppParser::AST::Stmt*)NativePtr)->stmtClass = (::CppSharp::CppParser::AST::StmtClass)value; + ((struct ::CppSharp::CppParser::AST::Stmt*)NativePtr)->stmtClass = (enum ::CppSharp::CppParser::AST::StmtClass)value; } CppSharp::Parser::SourceRange^ CppSharp::Parser::AST::Stmt::SourceRange::get() { - return (&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((::CppSharp::CppParser::SourceRange*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange); + return (&NativePtr->sourceRange == nullptr) ? nullptr : gcnew ::CppSharp::Parser::SourceRange((struct ::CppSharp::CppParser::SourceRange*)&NativePtr->sourceRange); } void CppSharp::Parser::AST::Stmt::SourceRange::set(CppSharp::Parser::SourceRange^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange = *(::CppSharp::CppParser::SourceRange*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::Stmt*)NativePtr)->sourceRange = *(struct ::CppSharp::CppParser::SourceRange*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::BeginLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->beginLoc); } void CppSharp::Parser::AST::Stmt::BeginLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::Stmt*)NativePtr)->beginLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::Stmt::EndLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->endLoc); } void CppSharp::Parser::AST::Stmt::EndLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::Stmt*)NativePtr)->endLoc = _marshal0; } -CppSharp::Parser::AST::DeclStmt::DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native) +CppSharp::Parser::AST::DeclStmt::DeclStmt(struct ::CppSharp::CppParser::AST::DeclStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::DeclStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*) native.ToPointer()); } -CppSharp::Parser::AST::DeclStmt::DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::DeclStmt::DeclStmt(struct ::CppSharp::CppParser::AST::DeclStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::DeclStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DeclStmt::~DeclStmt() @@ -152,7 +152,7 @@ CppSharp::Parser::AST::DeclStmt::~DeclStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::DeclStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::DeclStmt*) __nativePtr; } } @@ -160,27 +160,27 @@ CppSharp::Parser::AST::DeclStmt::DeclStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DeclStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::DeclStmt(); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::DeclStmt::Getdecls(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->getdecls(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->getdecls(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)__ret); } void CppSharp::Parser::AST::DeclStmt::Adddecls(CppSharp::Parser::AST::Declaration^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Declaration*)s->NativePtr; - ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->adddecls(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Declaration*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->adddecls(__arg0); } void CppSharp::Parser::AST::DeclStmt::Cleardecls() { - ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->cleardecls(); + ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->cleardecls(); } CppSharp::Parser::AST::DeclStmt::DeclStmt(CppSharp::Parser::AST::DeclStmt^ _0) @@ -189,76 +189,77 @@ CppSharp::Parser::AST::DeclStmt::DeclStmt(CppSharp::Parser::AST::DeclStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DeclStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DeclStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DeclStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DeclStmt(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::DeclStmt::Decls::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DeclStmt::Decls::get() { - auto _tmp__decls = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->decls) + auto _tmp__decls = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->decls; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)_element); _tmp__decls->Add(_marshalElement); } return _tmp__decls; } -void CppSharp::Parser::AST::DeclStmt::Decls::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DeclStmt::Decls::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Declaration*>(); for each(CppSharp::Parser::AST::Declaration^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Declaration*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->decls = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->decls = _tmpvalue; } bool CppSharp::Parser::AST::DeclStmt::IsSingleDecl::get() { - return ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->isSingleDecl; + return ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->isSingleDecl; } void CppSharp::Parser::AST::DeclStmt::IsSingleDecl::set(bool value) { - ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->isSingleDecl = value; + ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->isSingleDecl = value; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::DeclStmt::SingleDecl::get() { - return (((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl); + return (((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl); } void CppSharp::Parser::AST::DeclStmt::SingleDecl::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->singleDecl = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } unsigned int CppSharp::Parser::AST::DeclStmt::GetdeclsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->getdeclsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DeclStmt*)NativePtr)->getdeclsCount(); return __ret; } -CppSharp::Parser::AST::NullStmt::NullStmt(::CppSharp::CppParser::AST::NullStmt* native) +CppSharp::Parser::AST::NullStmt::NullStmt(struct ::CppSharp::CppParser::AST::NullStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::NullStmt^ CppSharp::Parser::AST::NullStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::NullStmt((::CppSharp::CppParser::AST::NullStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::NullStmt((struct ::CppSharp::CppParser::AST::NullStmt*) native.ToPointer()); } -CppSharp::Parser::AST::NullStmt::NullStmt(::CppSharp::CppParser::AST::NullStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::NullStmt::NullStmt(struct ::CppSharp::CppParser::AST::NullStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::NullStmt^ CppSharp::Parser::AST::NullStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::NullStmt((::CppSharp::CppParser::AST::NullStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::NullStmt((struct ::CppSharp::CppParser::AST::NullStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::NullStmt::~NullStmt() @@ -269,7 +270,7 @@ CppSharp::Parser::AST::NullStmt::NullStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::NullStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::NullStmt(); } CppSharp::Parser::AST::NullStmt::NullStmt(CppSharp::Parser::AST::NullStmt^ _0) @@ -278,50 +279,50 @@ CppSharp::Parser::AST::NullStmt::NullStmt(CppSharp::Parser::AST::NullStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::NullStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::NullStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::NullStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::NullStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::NullStmt::SemiLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::NullStmt*)NativePtr)->semiLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::NullStmt*)NativePtr)->semiLoc); } void CppSharp::Parser::AST::NullStmt::SemiLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::NullStmt*)NativePtr)->semiLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::NullStmt*)NativePtr)->semiLoc = _marshal0; } bool CppSharp::Parser::AST::NullStmt::HasLeadingEmptyMacro::get() { - return ((::CppSharp::CppParser::AST::NullStmt*)NativePtr)->hasLeadingEmptyMacro; + return ((struct ::CppSharp::CppParser::AST::NullStmt*)NativePtr)->hasLeadingEmptyMacro; } void CppSharp::Parser::AST::NullStmt::HasLeadingEmptyMacro::set(bool value) { - ((::CppSharp::CppParser::AST::NullStmt*)NativePtr)->hasLeadingEmptyMacro = value; + ((struct ::CppSharp::CppParser::AST::NullStmt*)NativePtr)->hasLeadingEmptyMacro = value; } -CppSharp::Parser::AST::CompoundStmt::CompoundStmt(::CppSharp::CppParser::AST::CompoundStmt* native) +CppSharp::Parser::AST::CompoundStmt::CompoundStmt(struct ::CppSharp::CppParser::AST::CompoundStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::CompoundStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CompoundStmt::CompoundStmt(::CppSharp::CppParser::AST::CompoundStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CompoundStmt::CompoundStmt(struct ::CppSharp::CppParser::AST::CompoundStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::CompoundStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CompoundStmt::~CompoundStmt() @@ -330,7 +331,7 @@ CppSharp::Parser::AST::CompoundStmt::~CompoundStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CompoundStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CompoundStmt*) __nativePtr; } } @@ -338,27 +339,27 @@ CppSharp::Parser::AST::CompoundStmt::CompoundStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CompoundStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundStmt(); } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CompoundStmt::Getbody(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->getbody(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->getbody(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)__ret); } void CppSharp::Parser::AST::CompoundStmt::Addbody(CppSharp::Parser::AST::Stmt^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Stmt*)s->NativePtr; - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->addbody(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Stmt*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->addbody(__arg0); } void CppSharp::Parser::AST::CompoundStmt::Clearbody() { - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->clearbody(); + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->clearbody(); } CppSharp::Parser::AST::CompoundStmt::CompoundStmt(CppSharp::Parser::AST::CompoundStmt^ _0) @@ -367,120 +368,121 @@ CppSharp::Parser::AST::CompoundStmt::CompoundStmt(CppSharp::Parser::AST::Compoun __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CompoundStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CompoundStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CompoundStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CompoundStmt(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CompoundStmt::Body::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CompoundStmt::Body::get() { - auto _tmp__body = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body) + auto _tmp__body = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)_element); _tmp__body->Add(_marshalElement); } return _tmp__body; } -void CppSharp::Parser::AST::CompoundStmt::Body::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CompoundStmt::Body::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Stmt*>(); for each(CppSharp::Parser::AST::Stmt^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Stmt*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Stmt*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body = _tmpvalue; } bool CppSharp::Parser::AST::CompoundStmt::BodyEmpty::get() { - return ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_empty; + return ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_empty; } void CppSharp::Parser::AST::CompoundStmt::BodyEmpty::set(bool value) { - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_empty = value; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_empty = value; } unsigned int CppSharp::Parser::AST::CompoundStmt::Size::get() { - return ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->size; + return ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->size; } void CppSharp::Parser::AST::CompoundStmt::Size::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->size = value; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->size = value; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CompoundStmt::BodyFront::get() { - return (((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front); + return (((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front); } void CppSharp::Parser::AST::CompoundStmt::BodyFront::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_front = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CompoundStmt::BodyBack::get() { - return (((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back); + return (((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back); } void CppSharp::Parser::AST::CompoundStmt::BodyBack::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->body_back = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CompoundStmt::LBracLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->lBracLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->lBracLoc); } void CppSharp::Parser::AST::CompoundStmt::LBracLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->lBracLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->lBracLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CompoundStmt::RBracLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->rBracLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->rBracLoc); } void CppSharp::Parser::AST::CompoundStmt::RBracLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->rBracLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->rBracLoc = _marshal0; } unsigned int CppSharp::Parser::AST::CompoundStmt::GetbodyCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->getbodyCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CompoundStmt*)NativePtr)->getbodyCount(); return __ret; } -CppSharp::Parser::AST::SwitchCase::SwitchCase(::CppSharp::CppParser::AST::SwitchCase* native) +CppSharp::Parser::AST::SwitchCase::SwitchCase(struct ::CppSharp::CppParser::AST::SwitchCase* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SwitchCase^ CppSharp::Parser::AST::SwitchCase::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SwitchCase((struct ::CppSharp::CppParser::AST::SwitchCase*) native.ToPointer()); } -CppSharp::Parser::AST::SwitchCase::SwitchCase(::CppSharp::CppParser::AST::SwitchCase* native, bool ownNativeInstance) +CppSharp::Parser::AST::SwitchCase::SwitchCase(struct ::CppSharp::CppParser::AST::SwitchCase* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SwitchCase^ CppSharp::Parser::AST::SwitchCase::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SwitchCase((struct ::CppSharp::CppParser::AST::SwitchCase*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SwitchCase::~SwitchCase() @@ -491,15 +493,15 @@ CppSharp::Parser::AST::SwitchCase::SwitchCase() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SwitchCase(); + NativePtr = new struct ::CppSharp::CppParser::AST::SwitchCase(); } CppSharp::Parser::AST::SwitchCase::SwitchCase(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::SwitchCase(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::SwitchCase(__arg0); } CppSharp::Parser::AST::SwitchCase::SwitchCase(CppSharp::Parser::AST::SwitchCase^ _0) @@ -508,70 +510,70 @@ CppSharp::Parser::AST::SwitchCase::SwitchCase(CppSharp::Parser::AST::SwitchCase^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SwitchCase*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SwitchCase(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SwitchCase*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SwitchCase(__arg0); } CppSharp::Parser::AST::SwitchCase::operator CppSharp::Parser::AST::SwitchCase^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::SwitchCase) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::SwitchCase(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::SwitchCase(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SwitchCase((struct ::CppSharp::CppParser::AST::SwitchCase*)____ret, true); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SwitchCase::KeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->keywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->keywordLoc); } void CppSharp::Parser::AST::SwitchCase::KeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->keywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->keywordLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SwitchCase::ColonLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->colonLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->colonLoc); } void CppSharp::Parser::AST::SwitchCase::ColonLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->colonLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->colonLoc = _marshal0; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::SwitchCase::SubStmt::get() { - return (((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt); + return (((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt); } void CppSharp::Parser::AST::SwitchCase::SubStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SwitchCase*)NativePtr)->subStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -CppSharp::Parser::AST::CaseStmt::CaseStmt(::CppSharp::CppParser::AST::CaseStmt* native) +CppSharp::Parser::AST::CaseStmt::CaseStmt(struct ::CppSharp::CppParser::AST::CaseStmt* native) : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)native) { } CppSharp::Parser::AST::CaseStmt^ CppSharp::Parser::AST::CaseStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CaseStmt((::CppSharp::CppParser::AST::CaseStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CaseStmt((struct ::CppSharp::CppParser::AST::CaseStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CaseStmt::CaseStmt(::CppSharp::CppParser::AST::CaseStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CaseStmt::CaseStmt(struct ::CppSharp::CppParser::AST::CaseStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)native, ownNativeInstance) { } CppSharp::Parser::AST::CaseStmt^ CppSharp::Parser::AST::CaseStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CaseStmt((::CppSharp::CppParser::AST::CaseStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CaseStmt((struct ::CppSharp::CppParser::AST::CaseStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CaseStmt::~CaseStmt() @@ -582,7 +584,7 @@ CppSharp::Parser::AST::CaseStmt::CaseStmt() : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CaseStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CaseStmt(); } CppSharp::Parser::AST::CaseStmt::CaseStmt(CppSharp::Parser::AST::CaseStmt^ _0) @@ -591,82 +593,82 @@ CppSharp::Parser::AST::CaseStmt::CaseStmt(CppSharp::Parser::AST::CaseStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CaseStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CaseStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CaseStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CaseStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CaseStmt::CaseLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseLoc); } void CppSharp::Parser::AST::CaseStmt::CaseLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CaseStmt::EllipsisLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->ellipsisLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->ellipsisLoc); } void CppSharp::Parser::AST::CaseStmt::EllipsisLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->ellipsisLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->ellipsisLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CaseStmt::LHS::get() { - return (((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS); + return (((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS); } void CppSharp::Parser::AST::CaseStmt::LHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->lHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CaseStmt::RHS::get() { - return (((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS); + return (((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS); } void CppSharp::Parser::AST::CaseStmt::RHS::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->rHS = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } bool CppSharp::Parser::AST::CaseStmt::CaseStmtIsGNURange::get() { - return ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseStmtIsGNURange; + return ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseStmtIsGNURange; } void CppSharp::Parser::AST::CaseStmt::CaseStmtIsGNURange::set(bool value) { - ((::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseStmtIsGNURange = value; + ((struct ::CppSharp::CppParser::AST::CaseStmt*)NativePtr)->caseStmtIsGNURange = value; } -CppSharp::Parser::AST::DefaultStmt::DefaultStmt(::CppSharp::CppParser::AST::DefaultStmt* native) +CppSharp::Parser::AST::DefaultStmt::DefaultStmt(struct ::CppSharp::CppParser::AST::DefaultStmt* native) : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)native) { } CppSharp::Parser::AST::DefaultStmt^ CppSharp::Parser::AST::DefaultStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DefaultStmt((::CppSharp::CppParser::AST::DefaultStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DefaultStmt((struct ::CppSharp::CppParser::AST::DefaultStmt*) native.ToPointer()); } -CppSharp::Parser::AST::DefaultStmt::DefaultStmt(::CppSharp::CppParser::AST::DefaultStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::DefaultStmt::DefaultStmt(struct ::CppSharp::CppParser::AST::DefaultStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)native, ownNativeInstance) { } CppSharp::Parser::AST::DefaultStmt^ CppSharp::Parser::AST::DefaultStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DefaultStmt((::CppSharp::CppParser::AST::DefaultStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DefaultStmt((struct ::CppSharp::CppParser::AST::DefaultStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DefaultStmt::~DefaultStmt() @@ -677,7 +679,7 @@ CppSharp::Parser::AST::DefaultStmt::DefaultStmt() : CppSharp::Parser::AST::SwitchCase((::CppSharp::CppParser::AST::SwitchCase*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DefaultStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::DefaultStmt(); } CppSharp::Parser::AST::DefaultStmt::DefaultStmt(CppSharp::Parser::AST::DefaultStmt^ _0) @@ -686,40 +688,40 @@ CppSharp::Parser::AST::DefaultStmt::DefaultStmt(CppSharp::Parser::AST::DefaultSt __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DefaultStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DefaultStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DefaultStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DefaultStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DefaultStmt::DefaultLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DefaultStmt*)NativePtr)->defaultLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DefaultStmt*)NativePtr)->defaultLoc); } void CppSharp::Parser::AST::DefaultStmt::DefaultLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DefaultStmt*)NativePtr)->defaultLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DefaultStmt*)NativePtr)->defaultLoc = _marshal0; } -CppSharp::Parser::AST::LabelStmt::LabelStmt(::CppSharp::CppParser::AST::LabelStmt* native) +CppSharp::Parser::AST::LabelStmt::LabelStmt(struct ::CppSharp::CppParser::AST::LabelStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::LabelStmt^ CppSharp::Parser::AST::LabelStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::LabelStmt((::CppSharp::CppParser::AST::LabelStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::LabelStmt((struct ::CppSharp::CppParser::AST::LabelStmt*) native.ToPointer()); } -CppSharp::Parser::AST::LabelStmt::LabelStmt(::CppSharp::CppParser::AST::LabelStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::LabelStmt::LabelStmt(struct ::CppSharp::CppParser::AST::LabelStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::LabelStmt^ CppSharp::Parser::AST::LabelStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::LabelStmt((::CppSharp::CppParser::AST::LabelStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::LabelStmt((struct ::CppSharp::CppParser::AST::LabelStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::LabelStmt::~LabelStmt() @@ -730,7 +732,7 @@ CppSharp::Parser::AST::LabelStmt::LabelStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::LabelStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::LabelStmt(); } CppSharp::Parser::AST::LabelStmt::LabelStmt(CppSharp::Parser::AST::LabelStmt^ _0) @@ -739,61 +741,61 @@ CppSharp::Parser::AST::LabelStmt::LabelStmt(CppSharp::Parser::AST::LabelStmt^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::LabelStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::LabelStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::LabelStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::LabelStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::LabelStmt::IdentLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->identLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->identLoc); } void CppSharp::Parser::AST::LabelStmt::IdentLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->identLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->identLoc = _marshal0; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::LabelStmt::SubStmt::get() { - return (((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt); + return (((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt); } void CppSharp::Parser::AST::LabelStmt::SubStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->subStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::LabelStmt::Name::get() +::System::String^ CppSharp::Parser::AST::LabelStmt::Name::get() { - return (((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name == 0 ? nullptr : clix::marshalString(((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name)); + return (((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name == 0 ? nullptr : clix::marshalString(((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name)); } -void CppSharp::Parser::AST::LabelStmt::Name::set(System::String^ value) +void CppSharp::Parser::AST::LabelStmt::Name::set(::System::String^ value) { auto _value = clix::marshalString(value); - ((::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name = _value.c_str(); + ((struct ::CppSharp::CppParser::AST::LabelStmt*)NativePtr)->name = _value.c_str(); } -CppSharp::Parser::AST::AttributedStmt::AttributedStmt(::CppSharp::CppParser::AST::AttributedStmt* native) +CppSharp::Parser::AST::AttributedStmt::AttributedStmt(struct ::CppSharp::CppParser::AST::AttributedStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::AttributedStmt^ CppSharp::Parser::AST::AttributedStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AttributedStmt((::CppSharp::CppParser::AST::AttributedStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AttributedStmt((struct ::CppSharp::CppParser::AST::AttributedStmt*) native.ToPointer()); } -CppSharp::Parser::AST::AttributedStmt::AttributedStmt(::CppSharp::CppParser::AST::AttributedStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::AttributedStmt::AttributedStmt(struct ::CppSharp::CppParser::AST::AttributedStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::AttributedStmt^ CppSharp::Parser::AST::AttributedStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AttributedStmt((::CppSharp::CppParser::AST::AttributedStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AttributedStmt((struct ::CppSharp::CppParser::AST::AttributedStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AttributedStmt::~AttributedStmt() @@ -804,7 +806,7 @@ CppSharp::Parser::AST::AttributedStmt::AttributedStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AttributedStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::AttributedStmt(); } CppSharp::Parser::AST::AttributedStmt::AttributedStmt(CppSharp::Parser::AST::AttributedStmt^ _0) @@ -813,50 +815,50 @@ CppSharp::Parser::AST::AttributedStmt::AttributedStmt(CppSharp::Parser::AST::Att __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AttributedStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AttributedStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AttributedStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AttributedStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AttributedStmt::AttrLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->attrLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->attrLoc); } void CppSharp::Parser::AST::AttributedStmt::AttrLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->attrLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->attrLoc = _marshal0; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::AttributedStmt::SubStmt::get() { - return (((::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt); + return (((struct ::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt); } void CppSharp::Parser::AST::AttributedStmt::SubStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AttributedStmt*)NativePtr)->subStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -CppSharp::Parser::AST::IfStmt::IfStmt(::CppSharp::CppParser::AST::IfStmt* native) +CppSharp::Parser::AST::IfStmt::IfStmt(struct ::CppSharp::CppParser::AST::IfStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::IfStmt^ CppSharp::Parser::AST::IfStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::IfStmt((::CppSharp::CppParser::AST::IfStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::IfStmt((struct ::CppSharp::CppParser::AST::IfStmt*) native.ToPointer()); } -CppSharp::Parser::AST::IfStmt::IfStmt(::CppSharp::CppParser::AST::IfStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::IfStmt::IfStmt(struct ::CppSharp::CppParser::AST::IfStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::IfStmt^ CppSharp::Parser::AST::IfStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::IfStmt((::CppSharp::CppParser::AST::IfStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::IfStmt((struct ::CppSharp::CppParser::AST::IfStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::IfStmt::~IfStmt() @@ -867,7 +869,7 @@ CppSharp::Parser::AST::IfStmt::IfStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::IfStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::IfStmt(); } CppSharp::Parser::AST::IfStmt::IfStmt(CppSharp::Parser::AST::IfStmt^ _0) @@ -876,152 +878,152 @@ CppSharp::Parser::AST::IfStmt::IfStmt(CppSharp::Parser::AST::IfStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::IfStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::IfStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::IfStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::IfStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::IfStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::IfStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::IfStmt::Then::get() { - return (((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then); + return (((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then); } void CppSharp::Parser::AST::IfStmt::Then::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->then = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::IfStmt::Else::get() { - return (((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else); + return (((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else); } void CppSharp::Parser::AST::IfStmt::Else::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_else = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::IfStmt::Init::get() { - return (((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init); } void CppSharp::Parser::AST::IfStmt::Init::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::IfStmt::IfLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->ifLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->ifLoc); } void CppSharp::Parser::AST::IfStmt::IfLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->ifLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->ifLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::IfStmt::ElseLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->elseLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->elseLoc); } void CppSharp::Parser::AST::IfStmt::ElseLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->elseLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->elseLoc = _marshal0; } bool CppSharp::Parser::AST::IfStmt::Constexpr::get() { - return ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_constexpr; + return ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_constexpr; } void CppSharp::Parser::AST::IfStmt::Constexpr::set(bool value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_constexpr = value; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->_constexpr = value; } bool CppSharp::Parser::AST::IfStmt::HasInitStorage::get() { - return ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasInitStorage; + return ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasInitStorage; } void CppSharp::Parser::AST::IfStmt::HasInitStorage::set(bool value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasInitStorage = value; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasInitStorage = value; } bool CppSharp::Parser::AST::IfStmt::HasVarStorage::get() { - return ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasVarStorage; + return ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasVarStorage; } void CppSharp::Parser::AST::IfStmt::HasVarStorage::set(bool value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasVarStorage = value; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasVarStorage = value; } bool CppSharp::Parser::AST::IfStmt::HasElseStorage::get() { - return ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasElseStorage; + return ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasElseStorage; } void CppSharp::Parser::AST::IfStmt::HasElseStorage::set(bool value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasElseStorage = value; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->hasElseStorage = value; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::IfStmt::ConditionVariableDeclStmt::get() { - return (((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt); + return (((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt); } void CppSharp::Parser::AST::IfStmt::ConditionVariableDeclStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->conditionVariableDeclStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } bool CppSharp::Parser::AST::IfStmt::IsObjCAvailabilityCheck::get() { - return ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->isObjCAvailabilityCheck; + return ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->isObjCAvailabilityCheck; } void CppSharp::Parser::AST::IfStmt::IsObjCAvailabilityCheck::set(bool value) { - ((::CppSharp::CppParser::AST::IfStmt*)NativePtr)->isObjCAvailabilityCheck = value; + ((struct ::CppSharp::CppParser::AST::IfStmt*)NativePtr)->isObjCAvailabilityCheck = value; } -CppSharp::Parser::AST::SwitchStmt::SwitchStmt(::CppSharp::CppParser::AST::SwitchStmt* native) +CppSharp::Parser::AST::SwitchStmt::SwitchStmt(struct ::CppSharp::CppParser::AST::SwitchStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SwitchStmt^ CppSharp::Parser::AST::SwitchStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SwitchStmt((::CppSharp::CppParser::AST::SwitchStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SwitchStmt((struct ::CppSharp::CppParser::AST::SwitchStmt*) native.ToPointer()); } -CppSharp::Parser::AST::SwitchStmt::SwitchStmt(::CppSharp::CppParser::AST::SwitchStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::SwitchStmt::SwitchStmt(struct ::CppSharp::CppParser::AST::SwitchStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SwitchStmt^ CppSharp::Parser::AST::SwitchStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SwitchStmt((::CppSharp::CppParser::AST::SwitchStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SwitchStmt((struct ::CppSharp::CppParser::AST::SwitchStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SwitchStmt::~SwitchStmt() @@ -1032,7 +1034,7 @@ CppSharp::Parser::AST::SwitchStmt::SwitchStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SwitchStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::SwitchStmt(); } CppSharp::Parser::AST::SwitchStmt::SwitchStmt(CppSharp::Parser::AST::SwitchStmt^ _0) @@ -1041,110 +1043,110 @@ CppSharp::Parser::AST::SwitchStmt::SwitchStmt(CppSharp::Parser::AST::SwitchStmt^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SwitchStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SwitchStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SwitchStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SwitchStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::SwitchStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::SwitchStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::SwitchStmt::Body::get() { - return (((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body); } void CppSharp::Parser::AST::SwitchStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::SwitchStmt::Init::get() { - return (((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init); } void CppSharp::Parser::AST::SwitchStmt::Init::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SwitchStmt::SwitchLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->switchLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->switchLoc); } void CppSharp::Parser::AST::SwitchStmt::SwitchLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->switchLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->switchLoc = _marshal0; } bool CppSharp::Parser::AST::SwitchStmt::HasInitStorage::get() { - return ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasInitStorage; + return ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasInitStorage; } void CppSharp::Parser::AST::SwitchStmt::HasInitStorage::set(bool value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasInitStorage = value; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasInitStorage = value; } bool CppSharp::Parser::AST::SwitchStmt::HasVarStorage::get() { - return ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasVarStorage; + return ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasVarStorage; } void CppSharp::Parser::AST::SwitchStmt::HasVarStorage::set(bool value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasVarStorage = value; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->hasVarStorage = value; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::SwitchStmt::ConditionVariableDeclStmt::get() { - return (((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt); + return (((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt); } void CppSharp::Parser::AST::SwitchStmt::ConditionVariableDeclStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->conditionVariableDeclStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } bool CppSharp::Parser::AST::SwitchStmt::IsAllEnumCasesCovered::get() { - return ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->isAllEnumCasesCovered; + return ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->isAllEnumCasesCovered; } void CppSharp::Parser::AST::SwitchStmt::IsAllEnumCasesCovered::set(bool value) { - ((::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->isAllEnumCasesCovered = value; + ((struct ::CppSharp::CppParser::AST::SwitchStmt*)NativePtr)->isAllEnumCasesCovered = value; } -CppSharp::Parser::AST::WhileStmt::WhileStmt(::CppSharp::CppParser::AST::WhileStmt* native) +CppSharp::Parser::AST::WhileStmt::WhileStmt(struct ::CppSharp::CppParser::AST::WhileStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::WhileStmt^ CppSharp::Parser::AST::WhileStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::WhileStmt((::CppSharp::CppParser::AST::WhileStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::WhileStmt((struct ::CppSharp::CppParser::AST::WhileStmt*) native.ToPointer()); } -CppSharp::Parser::AST::WhileStmt::WhileStmt(::CppSharp::CppParser::AST::WhileStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::WhileStmt::WhileStmt(struct ::CppSharp::CppParser::AST::WhileStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::WhileStmt^ CppSharp::Parser::AST::WhileStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::WhileStmt((::CppSharp::CppParser::AST::WhileStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::WhileStmt((struct ::CppSharp::CppParser::AST::WhileStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::WhileStmt::~WhileStmt() @@ -1155,7 +1157,7 @@ CppSharp::Parser::AST::WhileStmt::WhileStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::WhileStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::WhileStmt(); } CppSharp::Parser::AST::WhileStmt::WhileStmt(CppSharp::Parser::AST::WhileStmt^ _0) @@ -1164,80 +1166,80 @@ CppSharp::Parser::AST::WhileStmt::WhileStmt(CppSharp::Parser::AST::WhileStmt^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::WhileStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::WhileStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::WhileStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::WhileStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::WhileStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::WhileStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::WhileStmt::Body::get() { - return (((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body); } void CppSharp::Parser::AST::WhileStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::WhileStmt::WhileLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->whileLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->whileLoc); } void CppSharp::Parser::AST::WhileStmt::WhileLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->whileLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->whileLoc = _marshal0; } bool CppSharp::Parser::AST::WhileStmt::HasVarStorage::get() { - return ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->hasVarStorage; + return ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->hasVarStorage; } void CppSharp::Parser::AST::WhileStmt::HasVarStorage::set(bool value) { - ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->hasVarStorage = value; + ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->hasVarStorage = value; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::WhileStmt::ConditionVariableDeclStmt::get() { - return (((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt); + return (((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt); } void CppSharp::Parser::AST::WhileStmt::ConditionVariableDeclStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::WhileStmt*)NativePtr)->conditionVariableDeclStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } -CppSharp::Parser::AST::DoStmt::DoStmt(::CppSharp::CppParser::AST::DoStmt* native) +CppSharp::Parser::AST::DoStmt::DoStmt(struct ::CppSharp::CppParser::AST::DoStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::DoStmt^ CppSharp::Parser::AST::DoStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DoStmt((::CppSharp::CppParser::AST::DoStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DoStmt((struct ::CppSharp::CppParser::AST::DoStmt*) native.ToPointer()); } -CppSharp::Parser::AST::DoStmt::DoStmt(::CppSharp::CppParser::AST::DoStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::DoStmt::DoStmt(struct ::CppSharp::CppParser::AST::DoStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::DoStmt^ CppSharp::Parser::AST::DoStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DoStmt((::CppSharp::CppParser::AST::DoStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DoStmt((struct ::CppSharp::CppParser::AST::DoStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DoStmt::~DoStmt() @@ -1248,7 +1250,7 @@ CppSharp::Parser::AST::DoStmt::DoStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DoStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::DoStmt(); } CppSharp::Parser::AST::DoStmt::DoStmt(CppSharp::Parser::AST::DoStmt^ _0) @@ -1257,84 +1259,84 @@ CppSharp::Parser::AST::DoStmt::DoStmt(CppSharp::Parser::AST::DoStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DoStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DoStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DoStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DoStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::DoStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::DoStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::DoStmt::Body::get() { - return (((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body); } void CppSharp::Parser::AST::DoStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DoStmt::DoLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->doLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->doLoc); } void CppSharp::Parser::AST::DoStmt::DoLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->doLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->doLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DoStmt::WhileLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->whileLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->whileLoc); } void CppSharp::Parser::AST::DoStmt::WhileLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->whileLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->whileLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::DoStmt::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::DoStmt::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::DoStmt*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::DoStmt*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::ForStmt::ForStmt(::CppSharp::CppParser::AST::ForStmt* native) +CppSharp::Parser::AST::ForStmt::ForStmt(struct ::CppSharp::CppParser::AST::ForStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::ForStmt^ CppSharp::Parser::AST::ForStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ForStmt((::CppSharp::CppParser::AST::ForStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ForStmt((struct ::CppSharp::CppParser::AST::ForStmt*) native.ToPointer()); } -CppSharp::Parser::AST::ForStmt::ForStmt(::CppSharp::CppParser::AST::ForStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::ForStmt::ForStmt(struct ::CppSharp::CppParser::AST::ForStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::ForStmt^ CppSharp::Parser::AST::ForStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ForStmt((::CppSharp::CppParser::AST::ForStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ForStmt((struct ::CppSharp::CppParser::AST::ForStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ForStmt::~ForStmt() @@ -1345,7 +1347,7 @@ CppSharp::Parser::AST::ForStmt::ForStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ForStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::ForStmt(); } CppSharp::Parser::AST::ForStmt::ForStmt(CppSharp::Parser::AST::ForStmt^ _0) @@ -1354,114 +1356,114 @@ CppSharp::Parser::AST::ForStmt::ForStmt(CppSharp::Parser::AST::ForStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ForStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ForStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ForStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ForStmt(__arg0); } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::ForStmt::Init::get() { - return (((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init); } void CppSharp::Parser::AST::ForStmt::Init::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ForStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::ForStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ForStmt::Inc::get() { - return (((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc); + return (((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc); } void CppSharp::Parser::AST::ForStmt::Inc::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->inc = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::ForStmt::Body::get() { - return (((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body); } void CppSharp::Parser::AST::ForStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ForStmt::ForLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->forLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->forLoc); } void CppSharp::Parser::AST::ForStmt::ForLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->forLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->forLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ForStmt::LParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->lParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->lParenLoc); } void CppSharp::Parser::AST::ForStmt::LParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->lParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->lParenLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ForStmt::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::ForStmt::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->rParenLoc = _marshal0; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::ForStmt::ConditionVariableDeclStmt::get() { - return (((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt); + return (((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt); } void CppSharp::Parser::AST::ForStmt::ConditionVariableDeclStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ForStmt*)NativePtr)->conditionVariableDeclStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } -CppSharp::Parser::AST::GotoStmt::GotoStmt(::CppSharp::CppParser::AST::GotoStmt* native) +CppSharp::Parser::AST::GotoStmt::GotoStmt(struct ::CppSharp::CppParser::AST::GotoStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::GotoStmt^ CppSharp::Parser::AST::GotoStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::GotoStmt((::CppSharp::CppParser::AST::GotoStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::GotoStmt((struct ::CppSharp::CppParser::AST::GotoStmt*) native.ToPointer()); } -CppSharp::Parser::AST::GotoStmt::GotoStmt(::CppSharp::CppParser::AST::GotoStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::GotoStmt::GotoStmt(struct ::CppSharp::CppParser::AST::GotoStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::GotoStmt^ CppSharp::Parser::AST::GotoStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::GotoStmt((::CppSharp::CppParser::AST::GotoStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::GotoStmt((struct ::CppSharp::CppParser::AST::GotoStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::GotoStmt::~GotoStmt() @@ -1472,7 +1474,7 @@ CppSharp::Parser::AST::GotoStmt::GotoStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::GotoStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::GotoStmt(); } CppSharp::Parser::AST::GotoStmt::GotoStmt(CppSharp::Parser::AST::GotoStmt^ _0) @@ -1481,52 +1483,52 @@ CppSharp::Parser::AST::GotoStmt::GotoStmt(CppSharp::Parser::AST::GotoStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::GotoStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::GotoStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::GotoStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::GotoStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GotoStmt::GotoLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->gotoLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->gotoLoc); } void CppSharp::Parser::AST::GotoStmt::GotoLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->gotoLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->gotoLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GotoStmt::LabelLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->labelLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->labelLoc); } void CppSharp::Parser::AST::GotoStmt::LabelLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->labelLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GotoStmt*)NativePtr)->labelLoc = _marshal0; } -CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(::CppSharp::CppParser::AST::IndirectGotoStmt* native) +CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(struct ::CppSharp::CppParser::AST::IndirectGotoStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::IndirectGotoStmt^ CppSharp::Parser::AST::IndirectGotoStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::IndirectGotoStmt((::CppSharp::CppParser::AST::IndirectGotoStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::IndirectGotoStmt((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*) native.ToPointer()); } -CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(::CppSharp::CppParser::AST::IndirectGotoStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(struct ::CppSharp::CppParser::AST::IndirectGotoStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::IndirectGotoStmt^ CppSharp::Parser::AST::IndirectGotoStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::IndirectGotoStmt((::CppSharp::CppParser::AST::IndirectGotoStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::IndirectGotoStmt((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::IndirectGotoStmt::~IndirectGotoStmt() @@ -1537,7 +1539,7 @@ CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::IndirectGotoStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::IndirectGotoStmt(); } CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(CppSharp::Parser::AST::IndirectGotoStmt^ _0) @@ -1546,62 +1548,62 @@ CppSharp::Parser::AST::IndirectGotoStmt::IndirectGotoStmt(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::IndirectGotoStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::IndirectGotoStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::IndirectGotoStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::IndirectGotoStmt::GotoLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->gotoLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->gotoLoc); } void CppSharp::Parser::AST::IndirectGotoStmt::GotoLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->gotoLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->gotoLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::IndirectGotoStmt::StarLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->starLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->starLoc); } void CppSharp::Parser::AST::IndirectGotoStmt::StarLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->starLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->starLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::IndirectGotoStmt::Target::get() { - return (((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target); + return (((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target); } void CppSharp::Parser::AST::IndirectGotoStmt::Target::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::IndirectGotoStmt*)NativePtr)->target = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } -CppSharp::Parser::AST::ContinueStmt::ContinueStmt(::CppSharp::CppParser::AST::ContinueStmt* native) +CppSharp::Parser::AST::ContinueStmt::ContinueStmt(struct ::CppSharp::CppParser::AST::ContinueStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::ContinueStmt^ CppSharp::Parser::AST::ContinueStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ContinueStmt((::CppSharp::CppParser::AST::ContinueStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ContinueStmt((struct ::CppSharp::CppParser::AST::ContinueStmt*) native.ToPointer()); } -CppSharp::Parser::AST::ContinueStmt::ContinueStmt(::CppSharp::CppParser::AST::ContinueStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::ContinueStmt::ContinueStmt(struct ::CppSharp::CppParser::AST::ContinueStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::ContinueStmt^ CppSharp::Parser::AST::ContinueStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ContinueStmt((::CppSharp::CppParser::AST::ContinueStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ContinueStmt((struct ::CppSharp::CppParser::AST::ContinueStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ContinueStmt::~ContinueStmt() @@ -1612,7 +1614,7 @@ CppSharp::Parser::AST::ContinueStmt::ContinueStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ContinueStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::ContinueStmt(); } CppSharp::Parser::AST::ContinueStmt::ContinueStmt(CppSharp::Parser::AST::ContinueStmt^ _0) @@ -1621,40 +1623,40 @@ CppSharp::Parser::AST::ContinueStmt::ContinueStmt(CppSharp::Parser::AST::Continu __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ContinueStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ContinueStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ContinueStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ContinueStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ContinueStmt::ContinueLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ContinueStmt*)NativePtr)->continueLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ContinueStmt*)NativePtr)->continueLoc); } void CppSharp::Parser::AST::ContinueStmt::ContinueLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ContinueStmt*)NativePtr)->continueLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ContinueStmt*)NativePtr)->continueLoc = _marshal0; } -CppSharp::Parser::AST::BreakStmt::BreakStmt(::CppSharp::CppParser::AST::BreakStmt* native) +CppSharp::Parser::AST::BreakStmt::BreakStmt(struct ::CppSharp::CppParser::AST::BreakStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::BreakStmt^ CppSharp::Parser::AST::BreakStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BreakStmt((::CppSharp::CppParser::AST::BreakStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BreakStmt((struct ::CppSharp::CppParser::AST::BreakStmt*) native.ToPointer()); } -CppSharp::Parser::AST::BreakStmt::BreakStmt(::CppSharp::CppParser::AST::BreakStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::BreakStmt::BreakStmt(struct ::CppSharp::CppParser::AST::BreakStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::BreakStmt^ CppSharp::Parser::AST::BreakStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BreakStmt((::CppSharp::CppParser::AST::BreakStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BreakStmt((struct ::CppSharp::CppParser::AST::BreakStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BreakStmt::~BreakStmt() @@ -1665,7 +1667,7 @@ CppSharp::Parser::AST::BreakStmt::BreakStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BreakStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::BreakStmt(); } CppSharp::Parser::AST::BreakStmt::BreakStmt(CppSharp::Parser::AST::BreakStmt^ _0) @@ -1674,40 +1676,40 @@ CppSharp::Parser::AST::BreakStmt::BreakStmt(CppSharp::Parser::AST::BreakStmt^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BreakStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BreakStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BreakStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BreakStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::BreakStmt::BreakLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::BreakStmt*)NativePtr)->breakLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::BreakStmt*)NativePtr)->breakLoc); } void CppSharp::Parser::AST::BreakStmt::BreakLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::BreakStmt*)NativePtr)->breakLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::BreakStmt*)NativePtr)->breakLoc = _marshal0; } -CppSharp::Parser::AST::ReturnStmt::ReturnStmt(::CppSharp::CppParser::AST::ReturnStmt* native) +CppSharp::Parser::AST::ReturnStmt::ReturnStmt(struct ::CppSharp::CppParser::AST::ReturnStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::ReturnStmt^ CppSharp::Parser::AST::ReturnStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ReturnStmt((::CppSharp::CppParser::AST::ReturnStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ReturnStmt((struct ::CppSharp::CppParser::AST::ReturnStmt*) native.ToPointer()); } -CppSharp::Parser::AST::ReturnStmt::ReturnStmt(::CppSharp::CppParser::AST::ReturnStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::ReturnStmt::ReturnStmt(struct ::CppSharp::CppParser::AST::ReturnStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::ReturnStmt^ CppSharp::Parser::AST::ReturnStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ReturnStmt((::CppSharp::CppParser::AST::ReturnStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ReturnStmt((struct ::CppSharp::CppParser::AST::ReturnStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ReturnStmt::~ReturnStmt() @@ -1718,7 +1720,7 @@ CppSharp::Parser::AST::ReturnStmt::ReturnStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ReturnStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::ReturnStmt(); } CppSharp::Parser::AST::ReturnStmt::ReturnStmt(CppSharp::Parser::AST::ReturnStmt^ _0) @@ -1727,50 +1729,50 @@ CppSharp::Parser::AST::ReturnStmt::ReturnStmt(CppSharp::Parser::AST::ReturnStmt^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ReturnStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ReturnStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ReturnStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ReturnStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::ReturnStmt::RetValue::get() { - return (((::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue); + return (((struct ::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue); } void CppSharp::Parser::AST::ReturnStmt::RetValue::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->retValue = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::ReturnStmt::ReturnLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->returnLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->returnLoc); } void CppSharp::Parser::AST::ReturnStmt::ReturnLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->returnLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::ReturnStmt*)NativePtr)->returnLoc = _marshal0; } -CppSharp::Parser::AST::AsmStmt::AsmStmt(::CppSharp::CppParser::AST::AsmStmt* native) +CppSharp::Parser::AST::AsmStmt::AsmStmt(struct ::CppSharp::CppParser::AST::AsmStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::AsmStmt^ CppSharp::Parser::AST::AsmStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AsmStmt((struct ::CppSharp::CppParser::AST::AsmStmt*) native.ToPointer()); } -CppSharp::Parser::AST::AsmStmt::AsmStmt(::CppSharp::CppParser::AST::AsmStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::AsmStmt::AsmStmt(struct ::CppSharp::CppParser::AST::AsmStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::AsmStmt^ CppSharp::Parser::AST::AsmStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AsmStmt((struct ::CppSharp::CppParser::AST::AsmStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AsmStmt::~AsmStmt() @@ -1779,7 +1781,7 @@ CppSharp::Parser::AST::AsmStmt::~AsmStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::AsmStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::AsmStmt*) __nativePtr; } } @@ -1787,55 +1789,55 @@ CppSharp::Parser::AST::AsmStmt::AsmStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AsmStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::AsmStmt(); } CppSharp::Parser::AST::AsmStmt::AsmStmt(CppSharp::Parser::AST::StmtClass klass) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; - NativePtr = new ::CppSharp::CppParser::AST::AsmStmt(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; + NativePtr = new struct ::CppSharp::CppParser::AST::AsmStmt(__arg0); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AsmStmt::Getinputs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getinputs(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getinputs(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::AsmStmt::Addinputs(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->addinputs(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->addinputs(__arg0); } void CppSharp::Parser::AST::AsmStmt::Clearinputs() { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->clearinputs(); + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->clearinputs(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::AsmStmt::Getoutputs(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getoutputs(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getoutputs(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::AsmStmt::Addoutputs(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->addoutputs(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->addoutputs(__arg0); } void CppSharp::Parser::AST::AsmStmt::Clearoutputs() { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->clearoutputs(); + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->clearoutputs(); } CppSharp::Parser::AST::AsmStmt::AsmStmt(CppSharp::Parser::AST::AsmStmt^ _0) @@ -1844,147 +1846,149 @@ CppSharp::Parser::AST::AsmStmt::AsmStmt(CppSharp::Parser::AST::AsmStmt^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AsmStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AsmStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AsmStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AsmStmt(__arg0); } CppSharp::Parser::AST::AsmStmt::operator CppSharp::Parser::AST::AsmStmt^(CppSharp::Parser::AST::StmtClass klass) { - auto __arg0 = (::CppSharp::CppParser::AST::StmtClass)klass; + auto __arg0 = (enum ::CppSharp::CppParser::AST::StmtClass)klass; auto __ret = (::CppSharp::CppParser::AST::AsmStmt) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::AsmStmt(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::AsmStmt(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::AsmStmt((struct ::CppSharp::CppParser::AST::AsmStmt*)____ret, true); } -System::Collections::Generic::List^ CppSharp::Parser::AST::AsmStmt::Inputs::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::AsmStmt::Inputs::get() { - auto _tmp__inputs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->inputs) + auto _tmp__inputs = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->inputs; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__inputs->Add(_marshalElement); } return _tmp__inputs; } -void CppSharp::Parser::AST::AsmStmt::Inputs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::AsmStmt::Inputs::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->inputs = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->inputs = _tmpvalue; } -System::Collections::Generic::List^ CppSharp::Parser::AST::AsmStmt::Outputs::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::AsmStmt::Outputs::get() { - auto _tmp__outputs = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->outputs) + auto _tmp__outputs = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->outputs; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__outputs->Add(_marshalElement); } return _tmp__outputs; } -void CppSharp::Parser::AST::AsmStmt::Outputs::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::AsmStmt::Outputs::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->outputs = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->outputs = _tmpvalue; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::AsmStmt::AsmLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->asmLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->asmLoc); } void CppSharp::Parser::AST::AsmStmt::AsmLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->asmLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->asmLoc = _marshal0; } bool CppSharp::Parser::AST::AsmStmt::Simple::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->simple; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->simple; } void CppSharp::Parser::AST::AsmStmt::Simple::set(bool value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->simple = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->simple = value; } bool CppSharp::Parser::AST::AsmStmt::Volatile::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->_volatile; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->_volatile; } void CppSharp::Parser::AST::AsmStmt::Volatile::set(bool value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->_volatile = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->_volatile = value; } unsigned int CppSharp::Parser::AST::AsmStmt::NumOutputs::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numOutputs; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numOutputs; } void CppSharp::Parser::AST::AsmStmt::NumOutputs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numOutputs = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numOutputs = value; } unsigned int CppSharp::Parser::AST::AsmStmt::NumPlusOperands::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numPlusOperands; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numPlusOperands; } void CppSharp::Parser::AST::AsmStmt::NumPlusOperands::set(unsigned int value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numPlusOperands = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numPlusOperands = value; } unsigned int CppSharp::Parser::AST::AsmStmt::NumInputs::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numInputs; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numInputs; } void CppSharp::Parser::AST::AsmStmt::NumInputs::set(unsigned int value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numInputs = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numInputs = value; } unsigned int CppSharp::Parser::AST::AsmStmt::NumClobbers::get() { - return ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numClobbers; + return ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numClobbers; } void CppSharp::Parser::AST::AsmStmt::NumClobbers::set(unsigned int value) { - ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numClobbers = value; + ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->numClobbers = value; } unsigned int CppSharp::Parser::AST::AsmStmt::GetinputsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getinputsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getinputsCount(); return __ret; } unsigned int CppSharp::Parser::AST::AsmStmt::GetoutputsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getoutputsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::AsmStmt*)NativePtr)->getoutputsCount(); return __ret; } -CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native) +CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -1992,10 +1996,10 @@ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(::CppSharp::Cp CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece^ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*) native.ToPointer()); } -CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native, bool ownNativeInstance) +CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2003,7 +2007,7 @@ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(::CppSharp::Cp CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece^ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::~AsmStringPiece() @@ -2014,7 +2018,7 @@ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::~AsmStringPiece() CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece(); + NativePtr = new struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece(); } CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece^ _0) @@ -2022,88 +2026,88 @@ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::AsmStringPiece(CppSharp::Pars __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece(__arg0); } -System::IntPtr CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)object.ToPointer(); } bool CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::IsString::get() { - return ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isString; + return NativePtr->isString; } void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::IsString::set(bool value) { - ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isString = value; + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isString = value; } bool CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::IsOperand::get() { - return ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isOperand; + return NativePtr->isOperand; } void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::IsOperand::set(bool value) { - ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isOperand = value; + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->isOperand = value; } -System::String^ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::String::get() +::System::String^ CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::String::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->string); + return clix::marshalString(NativePtr->string); } -void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::String::set(System::String^ value) +void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::String::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->string = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->string = clix::marshalString(value); } unsigned int CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::OperandNo::get() { - return ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->operandNo; + return NativePtr->operandNo; } void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::OperandNo::set(unsigned int value) { - ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->operandNo = value; + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->operandNo = value; } char CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::Modifier::get() { - return ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->modifier; + return NativePtr->modifier; } void CppSharp::Parser::AST::GCCAsmStmt::AsmStringPiece::Modifier::set(char value) { - ((::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->modifier = value; + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece*)NativePtr)->modifier = value; } -CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(::CppSharp::CppParser::AST::GCCAsmStmt* native) +CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(struct ::CppSharp::CppParser::AST::GCCAsmStmt* native) : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)native) { } CppSharp::Parser::AST::GCCAsmStmt^ CppSharp::Parser::AST::GCCAsmStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::GCCAsmStmt((::CppSharp::CppParser::AST::GCCAsmStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::GCCAsmStmt((struct ::CppSharp::CppParser::AST::GCCAsmStmt*) native.ToPointer()); } -CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(::CppSharp::CppParser::AST::GCCAsmStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(struct ::CppSharp::CppParser::AST::GCCAsmStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::GCCAsmStmt^ CppSharp::Parser::AST::GCCAsmStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::GCCAsmStmt((::CppSharp::CppParser::AST::GCCAsmStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::GCCAsmStmt((struct ::CppSharp::CppParser::AST::GCCAsmStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::GCCAsmStmt::~GCCAsmStmt() @@ -2112,7 +2116,7 @@ CppSharp::Parser::AST::GCCAsmStmt::~GCCAsmStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::GCCAsmStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::GCCAsmStmt*) __nativePtr; } } @@ -2120,7 +2124,7 @@ CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt() : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::GCCAsmStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::GCCAsmStmt(); } CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(CppSharp::Parser::AST::GCCAsmStmt^ _0) @@ -2129,40 +2133,40 @@ CppSharp::Parser::AST::GCCAsmStmt::GCCAsmStmt(CppSharp::Parser::AST::GCCAsmStmt^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::GCCAsmStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::GCCAsmStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::GCCAsmStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::GCCAsmStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::GCCAsmStmt::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::GCCAsmStmt*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::GCCAsmStmt*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::GCCAsmStmt::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::GCCAsmStmt*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::GCCAsmStmt*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(::CppSharp::CppParser::AST::MSAsmStmt* native) +CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(struct ::CppSharp::CppParser::AST::MSAsmStmt* native) : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)native) { } CppSharp::Parser::AST::MSAsmStmt^ CppSharp::Parser::AST::MSAsmStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MSAsmStmt((::CppSharp::CppParser::AST::MSAsmStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MSAsmStmt((struct ::CppSharp::CppParser::AST::MSAsmStmt*) native.ToPointer()); } -CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(::CppSharp::CppParser::AST::MSAsmStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(struct ::CppSharp::CppParser::AST::MSAsmStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::MSAsmStmt^ CppSharp::Parser::AST::MSAsmStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MSAsmStmt((::CppSharp::CppParser::AST::MSAsmStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MSAsmStmt((struct ::CppSharp::CppParser::AST::MSAsmStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MSAsmStmt::~MSAsmStmt() @@ -2171,7 +2175,7 @@ CppSharp::Parser::AST::MSAsmStmt::~MSAsmStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::MSAsmStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::MSAsmStmt*) __nativePtr; } } @@ -2179,7 +2183,7 @@ CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt() : CppSharp::Parser::AST::AsmStmt((::CppSharp::CppParser::AST::AsmStmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MSAsmStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::MSAsmStmt(); } CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(CppSharp::Parser::AST::MSAsmStmt^ _0) @@ -2188,70 +2192,70 @@ CppSharp::Parser::AST::MSAsmStmt::MSAsmStmt(CppSharp::Parser::AST::MSAsmStmt^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MSAsmStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MSAsmStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MSAsmStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MSAsmStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MSAsmStmt::LBraceLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->lBraceLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->lBraceLoc); } void CppSharp::Parser::AST::MSAsmStmt::LBraceLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->lBraceLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->lBraceLoc = _marshal0; } bool CppSharp::Parser::AST::MSAsmStmt::HasBraces::get() { - return ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->hasBraces; + return ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->hasBraces; } void CppSharp::Parser::AST::MSAsmStmt::HasBraces::set(bool value) { - ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->hasBraces = value; + ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->hasBraces = value; } unsigned int CppSharp::Parser::AST::MSAsmStmt::NumAsmToks::get() { - return ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->numAsmToks; + return ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->numAsmToks; } void CppSharp::Parser::AST::MSAsmStmt::NumAsmToks::set(unsigned int value) { - ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->numAsmToks = value; + ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->numAsmToks = value; } -System::String^ CppSharp::Parser::AST::MSAsmStmt::AsmString::get() +::System::String^ CppSharp::Parser::AST::MSAsmStmt::AsmString::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->asmString); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->asmString); } -void CppSharp::Parser::AST::MSAsmStmt::AsmString::set(System::String^ value) +void CppSharp::Parser::AST::MSAsmStmt::AsmString::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->asmString = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::MSAsmStmt*)NativePtr)->asmString = clix::marshalString(value); } -CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(::CppSharp::CppParser::AST::SEHExceptStmt* native) +CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(struct ::CppSharp::CppParser::AST::SEHExceptStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SEHExceptStmt^ CppSharp::Parser::AST::SEHExceptStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SEHExceptStmt((::CppSharp::CppParser::AST::SEHExceptStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SEHExceptStmt((struct ::CppSharp::CppParser::AST::SEHExceptStmt*) native.ToPointer()); } -CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(::CppSharp::CppParser::AST::SEHExceptStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(struct ::CppSharp::CppParser::AST::SEHExceptStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SEHExceptStmt^ CppSharp::Parser::AST::SEHExceptStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SEHExceptStmt((::CppSharp::CppParser::AST::SEHExceptStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SEHExceptStmt((struct ::CppSharp::CppParser::AST::SEHExceptStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SEHExceptStmt::~SEHExceptStmt() @@ -2262,7 +2266,7 @@ CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SEHExceptStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::SEHExceptStmt(); } CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(CppSharp::Parser::AST::SEHExceptStmt^ _0) @@ -2271,60 +2275,60 @@ CppSharp::Parser::AST::SEHExceptStmt::SEHExceptStmt(CppSharp::Parser::AST::SEHEx __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SEHExceptStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SEHExceptStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SEHExceptStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SEHExceptStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SEHExceptStmt::ExceptLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->exceptLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->exceptLoc); } void CppSharp::Parser::AST::SEHExceptStmt::ExceptLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->exceptLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->exceptLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::SEHExceptStmt::FilterExpr::get() { - return (((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr); + return (((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr); } void CppSharp::Parser::AST::SEHExceptStmt::FilterExpr::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->filterExpr = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::SEHExceptStmt::Block::get() { - return (((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block); + return (((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block); } void CppSharp::Parser::AST::SEHExceptStmt::Block::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)NativePtr)->block = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } -CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(::CppSharp::CppParser::AST::SEHFinallyStmt* native) +CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(struct ::CppSharp::CppParser::AST::SEHFinallyStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SEHFinallyStmt^ CppSharp::Parser::AST::SEHFinallyStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((::CppSharp::CppParser::AST::SEHFinallyStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*) native.ToPointer()); } -CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(::CppSharp::CppParser::AST::SEHFinallyStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(struct ::CppSharp::CppParser::AST::SEHFinallyStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SEHFinallyStmt^ CppSharp::Parser::AST::SEHFinallyStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((::CppSharp::CppParser::AST::SEHFinallyStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SEHFinallyStmt::~SEHFinallyStmt() @@ -2335,7 +2339,7 @@ CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SEHFinallyStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::SEHFinallyStmt(); } CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(CppSharp::Parser::AST::SEHFinallyStmt^ _0) @@ -2344,50 +2348,50 @@ CppSharp::Parser::AST::SEHFinallyStmt::SEHFinallyStmt(CppSharp::Parser::AST::SEH __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SEHFinallyStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SEHFinallyStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SEHFinallyStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SEHFinallyStmt::FinallyLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->finallyLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->finallyLoc); } void CppSharp::Parser::AST::SEHFinallyStmt::FinallyLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->finallyLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->finallyLoc = _marshal0; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::SEHFinallyStmt::Block::get() { - return (((::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block); + return (((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block); } void CppSharp::Parser::AST::SEHFinallyStmt::Block::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)NativePtr)->block = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } -CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(::CppSharp::CppParser::AST::SEHTryStmt* native) +CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(struct ::CppSharp::CppParser::AST::SEHTryStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SEHTryStmt^ CppSharp::Parser::AST::SEHTryStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SEHTryStmt((::CppSharp::CppParser::AST::SEHTryStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SEHTryStmt((struct ::CppSharp::CppParser::AST::SEHTryStmt*) native.ToPointer()); } -CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(::CppSharp::CppParser::AST::SEHTryStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(struct ::CppSharp::CppParser::AST::SEHTryStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SEHTryStmt^ CppSharp::Parser::AST::SEHTryStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SEHTryStmt((::CppSharp::CppParser::AST::SEHTryStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SEHTryStmt((struct ::CppSharp::CppParser::AST::SEHTryStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SEHTryStmt::~SEHTryStmt() @@ -2398,7 +2402,7 @@ CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SEHTryStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::SEHTryStmt(); } CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(CppSharp::Parser::AST::SEHTryStmt^ _0) @@ -2407,90 +2411,90 @@ CppSharp::Parser::AST::SEHTryStmt::SEHTryStmt(CppSharp::Parser::AST::SEHTryStmt^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SEHTryStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SEHTryStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SEHTryStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SEHTryStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SEHTryStmt::TryLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryLoc); } void CppSharp::Parser::AST::SEHTryStmt::TryLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryLoc = _marshal0; } bool CppSharp::Parser::AST::SEHTryStmt::IsCXXTry::get() { - return ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->isCXXTry; + return ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->isCXXTry; } void CppSharp::Parser::AST::SEHTryStmt::IsCXXTry::set(bool value) { - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->isCXXTry = value; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->isCXXTry = value; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::SEHTryStmt::TryBlock::get() { - return (((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock); + return (((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock); } void CppSharp::Parser::AST::SEHTryStmt::TryBlock::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->tryBlock = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::SEHTryStmt::Handler::get() { - return (((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler); + return (((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler); } void CppSharp::Parser::AST::SEHTryStmt::Handler::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->handler = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::SEHExceptStmt^ CppSharp::Parser::AST::SEHTryStmt::ExceptHandler::get() { - return (((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SEHExceptStmt((::CppSharp::CppParser::AST::SEHExceptStmt*)((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler); + return (((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SEHExceptStmt((struct ::CppSharp::CppParser::AST::SEHExceptStmt*)((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler); } void CppSharp::Parser::AST::SEHTryStmt::ExceptHandler::set(CppSharp::Parser::AST::SEHExceptStmt^ value) { - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler = (::CppSharp::CppParser::AST::SEHExceptStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->exceptHandler = (struct ::CppSharp::CppParser::AST::SEHExceptStmt*)value->NativePtr; } CppSharp::Parser::AST::SEHFinallyStmt^ CppSharp::Parser::AST::SEHTryStmt::FinallyHandler::get() { - return (((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((::CppSharp::CppParser::AST::SEHFinallyStmt*)((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler); + return (((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::SEHFinallyStmt((struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler); } void CppSharp::Parser::AST::SEHTryStmt::FinallyHandler::set(CppSharp::Parser::AST::SEHFinallyStmt^ value) { - ((::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler = (::CppSharp::CppParser::AST::SEHFinallyStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::SEHTryStmt*)NativePtr)->finallyHandler = (struct ::CppSharp::CppParser::AST::SEHFinallyStmt*)value->NativePtr; } -CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(::CppSharp::CppParser::AST::SEHLeaveStmt* native) +CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(struct ::CppSharp::CppParser::AST::SEHLeaveStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::SEHLeaveStmt^ CppSharp::Parser::AST::SEHLeaveStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::SEHLeaveStmt((::CppSharp::CppParser::AST::SEHLeaveStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::SEHLeaveStmt((struct ::CppSharp::CppParser::AST::SEHLeaveStmt*) native.ToPointer()); } -CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(::CppSharp::CppParser::AST::SEHLeaveStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(struct ::CppSharp::CppParser::AST::SEHLeaveStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::SEHLeaveStmt^ CppSharp::Parser::AST::SEHLeaveStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::SEHLeaveStmt((::CppSharp::CppParser::AST::SEHLeaveStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::SEHLeaveStmt((struct ::CppSharp::CppParser::AST::SEHLeaveStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::SEHLeaveStmt::~SEHLeaveStmt() @@ -2501,7 +2505,7 @@ CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::SEHLeaveStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::SEHLeaveStmt(); } CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(CppSharp::Parser::AST::SEHLeaveStmt^ _0) @@ -2510,23 +2514,23 @@ CppSharp::Parser::AST::SEHLeaveStmt::SEHLeaveStmt(CppSharp::Parser::AST::SEHLeav __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::SEHLeaveStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::SEHLeaveStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::SEHLeaveStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::SEHLeaveStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::SEHLeaveStmt::LeaveLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::SEHLeaveStmt*)NativePtr)->leaveLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::SEHLeaveStmt*)NativePtr)->leaveLoc); } void CppSharp::Parser::AST::SEHLeaveStmt::LeaveLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::SEHLeaveStmt*)NativePtr)->leaveLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::SEHLeaveStmt*)NativePtr)->leaveLoc = _marshal0; } -CppSharp::Parser::AST::CapturedStmt::Capture::Capture(::CppSharp::CppParser::AST::CapturedStmt::Capture* native) +CppSharp::Parser::AST::CapturedStmt::Capture::Capture(struct ::CppSharp::CppParser::AST::CapturedStmt::Capture* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -2534,10 +2538,10 @@ CppSharp::Parser::AST::CapturedStmt::Capture::Capture(::CppSharp::CppParser::AST CppSharp::Parser::AST::CapturedStmt::Capture^ CppSharp::Parser::AST::CapturedStmt::Capture::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CapturedStmt::Capture((::CppSharp::CppParser::AST::CapturedStmt::Capture*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CapturedStmt::Capture((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*) native.ToPointer()); } -CppSharp::Parser::AST::CapturedStmt::Capture::Capture(::CppSharp::CppParser::AST::CapturedStmt::Capture* native, bool ownNativeInstance) +CppSharp::Parser::AST::CapturedStmt::Capture::Capture(struct ::CppSharp::CppParser::AST::CapturedStmt::Capture* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -2545,7 +2549,7 @@ CppSharp::Parser::AST::CapturedStmt::Capture::Capture(::CppSharp::CppParser::AST CppSharp::Parser::AST::CapturedStmt::Capture^ CppSharp::Parser::AST::CapturedStmt::Capture::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CapturedStmt::Capture((::CppSharp::CppParser::AST::CapturedStmt::Capture*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CapturedStmt::Capture((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CapturedStmt::Capture::~Capture() @@ -2556,7 +2560,7 @@ CppSharp::Parser::AST::CapturedStmt::Capture::~Capture() CppSharp::Parser::AST::CapturedStmt::Capture::Capture() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CapturedStmt::Capture(); + NativePtr = new struct ::CppSharp::CppParser::AST::CapturedStmt::Capture(); } CppSharp::Parser::AST::CapturedStmt::Capture::Capture(CppSharp::Parser::AST::CapturedStmt::Capture^ _0) @@ -2564,100 +2568,100 @@ CppSharp::Parser::AST::CapturedStmt::Capture::Capture(CppSharp::Parser::AST::Cap __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CapturedStmt::Capture*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CapturedStmt::Capture(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CapturedStmt::Capture(__arg0); } -System::IntPtr CppSharp::Parser::AST::CapturedStmt::Capture::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::CapturedStmt::Capture::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::CapturedStmt::Capture::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::CapturedStmt::Capture::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::CapturedStmt::Capture*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)object.ToPointer(); } CppSharp::Parser::AST::CapturedStmt::VariableCaptureKind CppSharp::Parser::AST::CapturedStmt::Capture::CaptureKind::get() { - return (CppSharp::Parser::AST::CapturedStmt::VariableCaptureKind)((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->captureKind; + return (CppSharp::Parser::AST::CapturedStmt::VariableCaptureKind)NativePtr->captureKind; } void CppSharp::Parser::AST::CapturedStmt::Capture::CaptureKind::set(CppSharp::Parser::AST::CapturedStmt::VariableCaptureKind value) { - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->captureKind = (::CppSharp::CppParser::AST::CapturedStmt::VariableCaptureKind)value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->captureKind = (enum ::CppSharp::CppParser::AST::CapturedStmt::VariableCaptureKind)value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CapturedStmt::Capture::Location::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->location); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->location); } void CppSharp::Parser::AST::CapturedStmt::Capture::Location::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->location = _marshal0; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->location = _marshal0; } bool CppSharp::Parser::AST::CapturedStmt::Capture::CapturesThis::get() { - return ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesThis; + return NativePtr->capturesThis; } void CppSharp::Parser::AST::CapturedStmt::Capture::CapturesThis::set(bool value) { - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesThis = value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesThis = value; } bool CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariable::get() { - return ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariable; + return NativePtr->capturesVariable; } void CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariable::set(bool value) { - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariable = value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariable = value; } bool CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariableByCopy::get() { - return ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableByCopy; + return NativePtr->capturesVariableByCopy; } void CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariableByCopy::set(bool value) { - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableByCopy = value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableByCopy = value; } bool CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariableArrayType::get() { - return ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableArrayType; + return NativePtr->capturesVariableArrayType; } void CppSharp::Parser::AST::CapturedStmt::Capture::CapturesVariableArrayType::set(bool value) { - ((::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableArrayType = value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt::Capture*)NativePtr)->capturesVariableArrayType = value; } -CppSharp::Parser::AST::CapturedStmt::CapturedStmt(::CppSharp::CppParser::AST::CapturedStmt* native) +CppSharp::Parser::AST::CapturedStmt::CapturedStmt(struct ::CppSharp::CppParser::AST::CapturedStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CapturedStmt^ CppSharp::Parser::AST::CapturedStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CapturedStmt((::CppSharp::CppParser::AST::CapturedStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CapturedStmt((struct ::CppSharp::CppParser::AST::CapturedStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CapturedStmt::CapturedStmt(::CppSharp::CppParser::AST::CapturedStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CapturedStmt::CapturedStmt(struct ::CppSharp::CppParser::AST::CapturedStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CapturedStmt^ CppSharp::Parser::AST::CapturedStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CapturedStmt((::CppSharp::CppParser::AST::CapturedStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CapturedStmt((struct ::CppSharp::CppParser::AST::CapturedStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CapturedStmt::~CapturedStmt() @@ -2666,7 +2670,7 @@ CppSharp::Parser::AST::CapturedStmt::~CapturedStmt() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::CapturedStmt*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::CapturedStmt*) __nativePtr; } } @@ -2674,27 +2678,27 @@ CppSharp::Parser::AST::CapturedStmt::CapturedStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CapturedStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CapturedStmt(); } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CapturedStmt::GetcaptureInits(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->getcapture_inits(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->getcapture_inits(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)__ret); } void CppSharp::Parser::AST::CapturedStmt::AddcaptureInits(CppSharp::Parser::AST::Expr^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Expr*)s->NativePtr; - ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->addcapture_inits(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Expr*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->addcapture_inits(__arg0); } void CppSharp::Parser::AST::CapturedStmt::ClearcaptureInits() { - ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->clearcapture_inits(); + ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->clearcapture_inits(); } CppSharp::Parser::AST::CapturedStmt::CapturedStmt(CppSharp::Parser::AST::CapturedStmt^ _0) @@ -2703,76 +2707,77 @@ CppSharp::Parser::AST::CapturedStmt::CapturedStmt(CppSharp::Parser::AST::Capture __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CapturedStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CapturedStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CapturedStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CapturedStmt(__arg0); } -System::Collections::Generic::List^ CppSharp::Parser::AST::CapturedStmt::CaptureInits::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::CapturedStmt::CaptureInits::get() { - auto _tmp__capture_inits = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_inits) + auto _tmp__capture_inits = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_inits; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)_element); _tmp__capture_inits->Add(_marshalElement); } return _tmp__capture_inits; } -void CppSharp::Parser::AST::CapturedStmt::CaptureInits::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::CapturedStmt::CaptureInits::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Expr*>(); for each(CppSharp::Parser::AST::Expr^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Expr*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Expr*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_inits = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_inits = _tmpvalue; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CapturedStmt::capturedStmt::get() { - return (((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt); + return (((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt); } void CppSharp::Parser::AST::CapturedStmt::capturedStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capturedStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CapturedStmt::CaptureSize::get() { - return ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_size; + return ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_size; } void CppSharp::Parser::AST::CapturedStmt::CaptureSize::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_size = value; + ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->capture_size = value; } unsigned int CppSharp::Parser::AST::CapturedStmt::GetcaptureInitsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->getcapture_initsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::CapturedStmt*)NativePtr)->getcapture_initsCount(); return __ret; } -CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(::CppSharp::CppParser::AST::CXXCatchStmt* native) +CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(struct ::CppSharp::CppParser::AST::CXXCatchStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CXXCatchStmt^ CppSharp::Parser::AST::CXXCatchStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXCatchStmt((::CppSharp::CppParser::AST::CXXCatchStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXCatchStmt((struct ::CppSharp::CppParser::AST::CXXCatchStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(::CppSharp::CppParser::AST::CXXCatchStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(struct ::CppSharp::CppParser::AST::CXXCatchStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXCatchStmt^ CppSharp::Parser::AST::CXXCatchStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXCatchStmt((::CppSharp::CppParser::AST::CXXCatchStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXCatchStmt((struct ::CppSharp::CppParser::AST::CXXCatchStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXCatchStmt::~CXXCatchStmt() @@ -2783,7 +2788,7 @@ CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXCatchStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXCatchStmt(); } CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(CppSharp::Parser::AST::CXXCatchStmt^ _0) @@ -2792,62 +2797,62 @@ CppSharp::Parser::AST::CXXCatchStmt::CXXCatchStmt(CppSharp::Parser::AST::CXXCatc __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXCatchStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXCatchStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXCatchStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXCatchStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXCatchStmt::CatchLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->catchLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->catchLoc); } void CppSharp::Parser::AST::CXXCatchStmt::CatchLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->catchLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->catchLoc = _marshal0; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::CXXCatchStmt::CaughtType::get() { - return (&((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType); + return (&((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType); } void CppSharp::Parser::AST::CXXCatchStmt::CaughtType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->caughtType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CXXCatchStmt::HandlerBlock::get() { - return (((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock); + return (((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock); } void CppSharp::Parser::AST::CXXCatchStmt::HandlerBlock::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXCatchStmt*)NativePtr)->handlerBlock = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(::CppSharp::CppParser::AST::CXXTryStmt* native) +CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(struct ::CppSharp::CppParser::AST::CXXTryStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CXXTryStmt^ CppSharp::Parser::AST::CXXTryStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXTryStmt((::CppSharp::CppParser::AST::CXXTryStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXTryStmt((struct ::CppSharp::CppParser::AST::CXXTryStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(::CppSharp::CppParser::AST::CXXTryStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(struct ::CppSharp::CppParser::AST::CXXTryStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXTryStmt^ CppSharp::Parser::AST::CXXTryStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXTryStmt((::CppSharp::CppParser::AST::CXXTryStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXTryStmt((struct ::CppSharp::CppParser::AST::CXXTryStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXTryStmt::~CXXTryStmt() @@ -2858,7 +2863,7 @@ CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXTryStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTryStmt(); } CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(CppSharp::Parser::AST::CXXTryStmt^ _0) @@ -2867,60 +2872,60 @@ CppSharp::Parser::AST::CXXTryStmt::CXXTryStmt(CppSharp::Parser::AST::CXXTryStmt^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXTryStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXTryStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXTryStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXTryStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXTryStmt::TryLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryLoc); } void CppSharp::Parser::AST::CXXTryStmt::TryLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryLoc = _marshal0; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::CXXTryStmt::TryBlock::get() { - return (((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock); + return (((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock); } void CppSharp::Parser::AST::CXXTryStmt::TryBlock::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->tryBlock = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } unsigned int CppSharp::Parser::AST::CXXTryStmt::NumHandlers::get() { - return ((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->numHandlers; + return ((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->numHandlers; } void CppSharp::Parser::AST::CXXTryStmt::NumHandlers::set(unsigned int value) { - ((::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->numHandlers = value; + ((struct ::CppSharp::CppParser::AST::CXXTryStmt*)NativePtr)->numHandlers = value; } -CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(::CppSharp::CppParser::AST::CXXForRangeStmt* native) +CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(struct ::CppSharp::CppParser::AST::CXXForRangeStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CXXForRangeStmt^ CppSharp::Parser::AST::CXXForRangeStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CXXForRangeStmt((::CppSharp::CppParser::AST::CXXForRangeStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CXXForRangeStmt((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(::CppSharp::CppParser::AST::CXXForRangeStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(struct ::CppSharp::CppParser::AST::CXXForRangeStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CXXForRangeStmt^ CppSharp::Parser::AST::CXXForRangeStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CXXForRangeStmt((::CppSharp::CppParser::AST::CXXForRangeStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CXXForRangeStmt((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CXXForRangeStmt::~CXXForRangeStmt() @@ -2931,7 +2936,7 @@ CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CXXForRangeStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CXXForRangeStmt(); } CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(CppSharp::Parser::AST::CXXForRangeStmt^ _0) @@ -2940,166 +2945,166 @@ CppSharp::Parser::AST::CXXForRangeStmt::CXXForRangeStmt(CppSharp::Parser::AST::C __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CXXForRangeStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CXXForRangeStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CXXForRangeStmt(__arg0); } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CXXForRangeStmt::Init::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init); } void CppSharp::Parser::AST::CXXForRangeStmt::Init::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->init = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXForRangeStmt::RangeInit::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit); } void CppSharp::Parser::AST::CXXForRangeStmt::RangeInit::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeInit = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXForRangeStmt::Cond::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond); } void CppSharp::Parser::AST::CXXForRangeStmt::Cond::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->cond = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CXXForRangeStmt::Inc::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc); } void CppSharp::Parser::AST::CXXForRangeStmt::Inc::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->inc = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CXXForRangeStmt::Body::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body); } void CppSharp::Parser::AST::CXXForRangeStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::CXXForRangeStmt::RangeStmt::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt); } void CppSharp::Parser::AST::CXXForRangeStmt::RangeStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rangeStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::CXXForRangeStmt::BeginStmt::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt); } void CppSharp::Parser::AST::CXXForRangeStmt::BeginStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->beginStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::CXXForRangeStmt::EndStmt::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt); } void CppSharp::Parser::AST::CXXForRangeStmt::EndStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->endStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } CppSharp::Parser::AST::DeclStmt^ CppSharp::Parser::AST::CXXForRangeStmt::LoopVarStmt::get() { - return (((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((::CppSharp::CppParser::AST::DeclStmt*)((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt); + return (((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::DeclStmt((struct ::CppSharp::CppParser::AST::DeclStmt*)((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt); } void CppSharp::Parser::AST::CXXForRangeStmt::LoopVarStmt::set(CppSharp::Parser::AST::DeclStmt^ value) { - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt = (::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->loopVarStmt = (struct ::CppSharp::CppParser::AST::DeclStmt*)value->NativePtr; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXForRangeStmt::ForLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->forLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->forLoc); } void CppSharp::Parser::AST::CXXForRangeStmt::ForLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->forLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->forLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXForRangeStmt::CoawaitLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->coawaitLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->coawaitLoc); } void CppSharp::Parser::AST::CXXForRangeStmt::CoawaitLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->coawaitLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->coawaitLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXForRangeStmt::ColonLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->colonLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->colonLoc); } void CppSharp::Parser::AST::CXXForRangeStmt::ColonLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->colonLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->colonLoc = _marshal0; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CXXForRangeStmt::RParenLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rParenLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rParenLoc); } void CppSharp::Parser::AST::CXXForRangeStmt::RParenLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rParenLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CXXForRangeStmt*)NativePtr)->rParenLoc = _marshal0; } -CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(::CppSharp::CppParser::AST::MSDependentExistsStmt* native) +CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(struct ::CppSharp::CppParser::AST::MSDependentExistsStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::MSDependentExistsStmt^ CppSharp::Parser::AST::MSDependentExistsStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MSDependentExistsStmt((::CppSharp::CppParser::AST::MSDependentExistsStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MSDependentExistsStmt((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*) native.ToPointer()); } -CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(::CppSharp::CppParser::AST::MSDependentExistsStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(struct ::CppSharp::CppParser::AST::MSDependentExistsStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::MSDependentExistsStmt^ CppSharp::Parser::AST::MSDependentExistsStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MSDependentExistsStmt((::CppSharp::CppParser::AST::MSDependentExistsStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MSDependentExistsStmt((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MSDependentExistsStmt::~MSDependentExistsStmt() @@ -3110,7 +3115,7 @@ CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MSDependentExistsStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::MSDependentExistsStmt(); } CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(CppSharp::Parser::AST::MSDependentExistsStmt^ _0) @@ -3119,53 +3124,53 @@ CppSharp::Parser::AST::MSDependentExistsStmt::MSDependentExistsStmt(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MSDependentExistsStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MSDependentExistsStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MSDependentExistsStmt(__arg0); } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::MSDependentExistsStmt::KeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->keywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->keywordLoc); } void CppSharp::Parser::AST::MSDependentExistsStmt::KeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->keywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->keywordLoc = _marshal0; } bool CppSharp::Parser::AST::MSDependentExistsStmt::IsIfExists::get() { - return ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfExists; + return ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfExists; } void CppSharp::Parser::AST::MSDependentExistsStmt::IsIfExists::set(bool value) { - ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfExists = value; + ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfExists = value; } bool CppSharp::Parser::AST::MSDependentExistsStmt::IsIfNotExists::get() { - return ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfNotExists; + return ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfNotExists; } void CppSharp::Parser::AST::MSDependentExistsStmt::IsIfNotExists::set(bool value) { - ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfNotExists = value; + ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->isIfNotExists = value; } CppSharp::Parser::AST::CompoundStmt^ CppSharp::Parser::AST::MSDependentExistsStmt::SubStmt::get() { - return (((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((::CppSharp::CppParser::AST::CompoundStmt*)((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt); + return (((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::CompoundStmt((struct ::CppSharp::CppParser::AST::CompoundStmt*)((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt); } void CppSharp::Parser::AST::MSDependentExistsStmt::SubStmt::set(CppSharp::Parser::AST::CompoundStmt^ value) { - ((::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt = (::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MSDependentExistsStmt*)NativePtr)->subStmt = (struct ::CppSharp::CppParser::AST::CompoundStmt*)value->NativePtr; } -CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native) +CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -3173,10 +3178,10 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(::CppSharp::CppPars CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs^ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs((::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*) native.ToPointer()); } -CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -3184,7 +3189,7 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(::CppSharp::CppPars CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs^ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs((::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::~CtorArgs() @@ -3195,7 +3200,7 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::~CtorArgs() CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs(); } CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs^ _0) @@ -3203,37 +3208,37 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::CtorArgs(CppSharp::Parser::A __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs(__arg0); } -System::IntPtr CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::CoroutineBodyStmt::CtorArgs::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs*)object.ToPointer(); } -CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(::CppSharp::CppParser::AST::CoroutineBodyStmt* native) +CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CoroutineBodyStmt^ CppSharp::Parser::AST::CoroutineBodyStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt((::CppSharp::CppParser::AST::CoroutineBodyStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(::CppSharp::CppParser::AST::CoroutineBodyStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CoroutineBodyStmt^ CppSharp::Parser::AST::CoroutineBodyStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt((::CppSharp::CppParser::AST::CoroutineBodyStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoroutineBodyStmt((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoroutineBodyStmt::~CoroutineBodyStmt() @@ -3244,7 +3249,7 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineBodyStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineBodyStmt(); } CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(CppSharp::Parser::AST::CoroutineBodyStmt^ _0) @@ -3253,158 +3258,158 @@ CppSharp::Parser::AST::CoroutineBodyStmt::CoroutineBodyStmt(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoroutineBodyStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoroutineBodyStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoroutineBodyStmt(__arg0); } bool CppSharp::Parser::AST::CoroutineBodyStmt::HasDependentPromiseType::get() { - return ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->hasDependentPromiseType; + return ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->hasDependentPromiseType; } void CppSharp::Parser::AST::CoroutineBodyStmt::HasDependentPromiseType::set(bool value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->hasDependentPromiseType = value; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->hasDependentPromiseType = value; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::Body::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body); } void CppSharp::Parser::AST::CoroutineBodyStmt::Body::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->body = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::PromiseDeclStmt::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt); } void CppSharp::Parser::AST::CoroutineBodyStmt::PromiseDeclStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->promiseDeclStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::InitSuspendStmt::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt); } void CppSharp::Parser::AST::CoroutineBodyStmt::InitSuspendStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->initSuspendStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::FinalSuspendStmt::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt); } void CppSharp::Parser::AST::CoroutineBodyStmt::FinalSuspendStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->finalSuspendStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::ExceptionHandler::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler); } void CppSharp::Parser::AST::CoroutineBodyStmt::ExceptionHandler::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->exceptionHandler = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::FallthroughHandler::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler); } void CppSharp::Parser::AST::CoroutineBodyStmt::FallthroughHandler::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->fallthroughHandler = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineBodyStmt::Allocate::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate); } void CppSharp::Parser::AST::CoroutineBodyStmt::Allocate::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->allocate = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineBodyStmt::Deallocate::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate); } void CppSharp::Parser::AST::CoroutineBodyStmt::Deallocate::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->deallocate = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoroutineBodyStmt::ReturnValueInit::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit); } void CppSharp::Parser::AST::CoroutineBodyStmt::ReturnValueInit::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnValueInit = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::ResultDecl::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl); } void CppSharp::Parser::AST::CoroutineBodyStmt::ResultDecl::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->resultDecl = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::ReturnStmt::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt); } void CppSharp::Parser::AST::CoroutineBodyStmt::ReturnStmt::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmt = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } CppSharp::Parser::AST::Stmt^ CppSharp::Parser::AST::CoroutineBodyStmt::ReturnStmtOnAllocFailure::get() { - return (((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure); + return (((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Stmt((struct ::CppSharp::CppParser::AST::Stmt*)((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure); } void CppSharp::Parser::AST::CoroutineBodyStmt::ReturnStmtOnAllocFailure::set(CppSharp::Parser::AST::Stmt^ value) { - ((::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure = (::CppSharp::CppParser::AST::Stmt*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoroutineBodyStmt*)NativePtr)->returnStmtOnAllocFailure = (struct ::CppSharp::CppParser::AST::Stmt*)value->NativePtr; } -CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(::CppSharp::CppParser::AST::CoreturnStmt* native) +CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(struct ::CppSharp::CppParser::AST::CoreturnStmt* native) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native) { } CppSharp::Parser::AST::CoreturnStmt^ CppSharp::Parser::AST::CoreturnStmt::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::CoreturnStmt((::CppSharp::CppParser::AST::CoreturnStmt*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::CoreturnStmt((struct ::CppSharp::CppParser::AST::CoreturnStmt*) native.ToPointer()); } -CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(::CppSharp::CppParser::AST::CoreturnStmt* native, bool ownNativeInstance) +CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(struct ::CppSharp::CppParser::AST::CoreturnStmt* native, bool ownNativeInstance) : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)native, ownNativeInstance) { } CppSharp::Parser::AST::CoreturnStmt^ CppSharp::Parser::AST::CoreturnStmt::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::CoreturnStmt((::CppSharp::CppParser::AST::CoreturnStmt*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::CoreturnStmt((struct ::CppSharp::CppParser::AST::CoreturnStmt*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::CoreturnStmt::~CoreturnStmt() @@ -3415,7 +3420,7 @@ CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt() : CppSharp::Parser::AST::Stmt((::CppSharp::CppParser::AST::Stmt*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::CoreturnStmt(); + NativePtr = new struct ::CppSharp::CppParser::AST::CoreturnStmt(); } CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(CppSharp::Parser::AST::CoreturnStmt^ _0) @@ -3424,49 +3429,49 @@ CppSharp::Parser::AST::CoreturnStmt::CoreturnStmt(CppSharp::Parser::AST::Coretur __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::CoreturnStmt*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::CoreturnStmt(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::CoreturnStmt*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::CoreturnStmt(__arg0); } bool CppSharp::Parser::AST::CoreturnStmt::IsImplicit::get() { - return ((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->isImplicit; + return ((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->isImplicit; } void CppSharp::Parser::AST::CoreturnStmt::IsImplicit::set(bool value) { - ((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->isImplicit = value; + ((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->isImplicit = value; } CppSharp::Parser::SourceLocation CppSharp::Parser::AST::CoreturnStmt::KeywordLoc::get() { - return ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->keywordLoc); + return ::CppSharp::Parser::SourceLocation((struct ::CppSharp::CppParser::SourceLocation*)&((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->keywordLoc); } void CppSharp::Parser::AST::CoreturnStmt::KeywordLoc::set(CppSharp::Parser::SourceLocation value) { auto _marshal0 = ::CppSharp::CppParser::SourceLocation(); _marshal0.ID = value.ID; - ((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->keywordLoc = _marshal0; + ((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->keywordLoc = _marshal0; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoreturnStmt::Operand::get() { - return (((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand); + return (((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand); } void CppSharp::Parser::AST::CoreturnStmt::Operand::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->operand = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } CppSharp::Parser::AST::Expr^ CppSharp::Parser::AST::CoreturnStmt::PromiseCall::get() { - return (((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((::CppSharp::CppParser::AST::Expr*)((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall); + return (((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Expr((struct ::CppSharp::CppParser::AST::Expr*)((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall); } void CppSharp::Parser::AST::CoreturnStmt::PromiseCall::set(CppSharp::Parser::AST::Expr^ value) { - ((::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall = (::CppSharp::CppParser::AST::Expr*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::CoreturnStmt*)NativePtr)->promiseCall = (struct ::CppSharp::CppParser::AST::Expr*)value->NativePtr; } diff --git a/src/CppParser/Bindings/CLI/Stmt.h b/src/CppParser/Bindings/CLI/Stmt.h index 05de7d16..d9242670 100644 --- a/src/CppParser/Bindings/CLI/Stmt.h +++ b/src/CppParser/Bindings/CLI/Stmt.h @@ -198,15 +198,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::Stmt* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::Stmt* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Stmt(::CppSharp::CppParser::AST::Stmt* native); - Stmt(::CppSharp::CppParser::AST::Stmt* native, bool ownNativeInstance); + Stmt(struct ::CppSharp::CppParser::AST::Stmt* native); + Stmt(struct ::CppSharp::CppParser::AST::Stmt* native, bool ownNativeInstance); static Stmt^ __CreateInstance(::System::IntPtr native); static Stmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Stmt(); @@ -252,8 +252,8 @@ namespace CppSharp { public: - DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native); - DeclStmt(::CppSharp::CppParser::AST::DeclStmt* native, bool ownNativeInstance); + DeclStmt(struct ::CppSharp::CppParser::AST::DeclStmt* native); + DeclStmt(struct ::CppSharp::CppParser::AST::DeclStmt* native, bool ownNativeInstance); static DeclStmt^ __CreateInstance(::System::IntPtr native); static DeclStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DeclStmt(); @@ -262,10 +262,10 @@ namespace CppSharp ~DeclStmt(); - property System::Collections::Generic::List^ Decls + property ::System::Collections::Generic::List^ Decls { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property bool IsSingleDecl @@ -296,8 +296,8 @@ namespace CppSharp { public: - NullStmt(::CppSharp::CppParser::AST::NullStmt* native); - NullStmt(::CppSharp::CppParser::AST::NullStmt* native, bool ownNativeInstance); + NullStmt(struct ::CppSharp::CppParser::AST::NullStmt* native); + NullStmt(struct ::CppSharp::CppParser::AST::NullStmt* native, bool ownNativeInstance); static NullStmt^ __CreateInstance(::System::IntPtr native); static NullStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); NullStmt(); @@ -323,8 +323,8 @@ namespace CppSharp { public: - CompoundStmt(::CppSharp::CppParser::AST::CompoundStmt* native); - CompoundStmt(::CppSharp::CppParser::AST::CompoundStmt* native, bool ownNativeInstance); + CompoundStmt(struct ::CppSharp::CppParser::AST::CompoundStmt* native); + CompoundStmt(struct ::CppSharp::CppParser::AST::CompoundStmt* native, bool ownNativeInstance); static CompoundStmt^ __CreateInstance(::System::IntPtr native); static CompoundStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CompoundStmt(); @@ -333,10 +333,10 @@ namespace CppSharp ~CompoundStmt(); - property System::Collections::Generic::List^ Body + property ::System::Collections::Generic::List^ Body { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property bool BodyEmpty @@ -391,8 +391,8 @@ namespace CppSharp { public: - SwitchCase(::CppSharp::CppParser::AST::SwitchCase* native); - SwitchCase(::CppSharp::CppParser::AST::SwitchCase* native, bool ownNativeInstance); + SwitchCase(struct ::CppSharp::CppParser::AST::SwitchCase* native); + SwitchCase(struct ::CppSharp::CppParser::AST::SwitchCase* native, bool ownNativeInstance); static SwitchCase^ __CreateInstance(::System::IntPtr native); static SwitchCase^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SwitchCase(); @@ -428,8 +428,8 @@ namespace CppSharp { public: - CaseStmt(::CppSharp::CppParser::AST::CaseStmt* native); - CaseStmt(::CppSharp::CppParser::AST::CaseStmt* native, bool ownNativeInstance); + CaseStmt(struct ::CppSharp::CppParser::AST::CaseStmt* native); + CaseStmt(struct ::CppSharp::CppParser::AST::CaseStmt* native, bool ownNativeInstance); static CaseStmt^ __CreateInstance(::System::IntPtr native); static CaseStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CaseStmt(); @@ -473,8 +473,8 @@ namespace CppSharp { public: - DefaultStmt(::CppSharp::CppParser::AST::DefaultStmt* native); - DefaultStmt(::CppSharp::CppParser::AST::DefaultStmt* native, bool ownNativeInstance); + DefaultStmt(struct ::CppSharp::CppParser::AST::DefaultStmt* native); + DefaultStmt(struct ::CppSharp::CppParser::AST::DefaultStmt* native, bool ownNativeInstance); static DefaultStmt^ __CreateInstance(::System::IntPtr native); static DefaultStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DefaultStmt(); @@ -494,8 +494,8 @@ namespace CppSharp { public: - LabelStmt(::CppSharp::CppParser::AST::LabelStmt* native); - LabelStmt(::CppSharp::CppParser::AST::LabelStmt* native, bool ownNativeInstance); + LabelStmt(struct ::CppSharp::CppParser::AST::LabelStmt* native); + LabelStmt(struct ::CppSharp::CppParser::AST::LabelStmt* native, bool ownNativeInstance); static LabelStmt^ __CreateInstance(::System::IntPtr native); static LabelStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); LabelStmt(); @@ -516,10 +516,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::Stmt^); } - property System::String^ Name + property ::System::String^ Name { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -527,8 +527,8 @@ namespace CppSharp { public: - AttributedStmt(::CppSharp::CppParser::AST::AttributedStmt* native); - AttributedStmt(::CppSharp::CppParser::AST::AttributedStmt* native, bool ownNativeInstance); + AttributedStmt(struct ::CppSharp::CppParser::AST::AttributedStmt* native); + AttributedStmt(struct ::CppSharp::CppParser::AST::AttributedStmt* native, bool ownNativeInstance); static AttributedStmt^ __CreateInstance(::System::IntPtr native); static AttributedStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AttributedStmt(); @@ -554,8 +554,8 @@ namespace CppSharp { public: - IfStmt(::CppSharp::CppParser::AST::IfStmt* native); - IfStmt(::CppSharp::CppParser::AST::IfStmt* native, bool ownNativeInstance); + IfStmt(struct ::CppSharp::CppParser::AST::IfStmt* native); + IfStmt(struct ::CppSharp::CppParser::AST::IfStmt* native, bool ownNativeInstance); static IfStmt^ __CreateInstance(::System::IntPtr native); static IfStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); IfStmt(); @@ -641,8 +641,8 @@ namespace CppSharp { public: - SwitchStmt(::CppSharp::CppParser::AST::SwitchStmt* native); - SwitchStmt(::CppSharp::CppParser::AST::SwitchStmt* native, bool ownNativeInstance); + SwitchStmt(struct ::CppSharp::CppParser::AST::SwitchStmt* native); + SwitchStmt(struct ::CppSharp::CppParser::AST::SwitchStmt* native, bool ownNativeInstance); static SwitchStmt^ __CreateInstance(::System::IntPtr native); static SwitchStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SwitchStmt(); @@ -704,8 +704,8 @@ namespace CppSharp { public: - WhileStmt(::CppSharp::CppParser::AST::WhileStmt* native); - WhileStmt(::CppSharp::CppParser::AST::WhileStmt* native, bool ownNativeInstance); + WhileStmt(struct ::CppSharp::CppParser::AST::WhileStmt* native); + WhileStmt(struct ::CppSharp::CppParser::AST::WhileStmt* native, bool ownNativeInstance); static WhileStmt^ __CreateInstance(::System::IntPtr native); static WhileStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); WhileStmt(); @@ -749,8 +749,8 @@ namespace CppSharp { public: - DoStmt(::CppSharp::CppParser::AST::DoStmt* native); - DoStmt(::CppSharp::CppParser::AST::DoStmt* native, bool ownNativeInstance); + DoStmt(struct ::CppSharp::CppParser::AST::DoStmt* native); + DoStmt(struct ::CppSharp::CppParser::AST::DoStmt* native, bool ownNativeInstance); static DoStmt^ __CreateInstance(::System::IntPtr native); static DoStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DoStmt(); @@ -794,8 +794,8 @@ namespace CppSharp { public: - ForStmt(::CppSharp::CppParser::AST::ForStmt* native); - ForStmt(::CppSharp::CppParser::AST::ForStmt* native, bool ownNativeInstance); + ForStmt(struct ::CppSharp::CppParser::AST::ForStmt* native); + ForStmt(struct ::CppSharp::CppParser::AST::ForStmt* native, bool ownNativeInstance); static ForStmt^ __CreateInstance(::System::IntPtr native); static ForStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ForStmt(); @@ -857,8 +857,8 @@ namespace CppSharp { public: - GotoStmt(::CppSharp::CppParser::AST::GotoStmt* native); - GotoStmt(::CppSharp::CppParser::AST::GotoStmt* native, bool ownNativeInstance); + GotoStmt(struct ::CppSharp::CppParser::AST::GotoStmt* native); + GotoStmt(struct ::CppSharp::CppParser::AST::GotoStmt* native, bool ownNativeInstance); static GotoStmt^ __CreateInstance(::System::IntPtr native); static GotoStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); GotoStmt(); @@ -884,8 +884,8 @@ namespace CppSharp { public: - IndirectGotoStmt(::CppSharp::CppParser::AST::IndirectGotoStmt* native); - IndirectGotoStmt(::CppSharp::CppParser::AST::IndirectGotoStmt* native, bool ownNativeInstance); + IndirectGotoStmt(struct ::CppSharp::CppParser::AST::IndirectGotoStmt* native); + IndirectGotoStmt(struct ::CppSharp::CppParser::AST::IndirectGotoStmt* native, bool ownNativeInstance); static IndirectGotoStmt^ __CreateInstance(::System::IntPtr native); static IndirectGotoStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); IndirectGotoStmt(); @@ -917,8 +917,8 @@ namespace CppSharp { public: - ContinueStmt(::CppSharp::CppParser::AST::ContinueStmt* native); - ContinueStmt(::CppSharp::CppParser::AST::ContinueStmt* native, bool ownNativeInstance); + ContinueStmt(struct ::CppSharp::CppParser::AST::ContinueStmt* native); + ContinueStmt(struct ::CppSharp::CppParser::AST::ContinueStmt* native, bool ownNativeInstance); static ContinueStmt^ __CreateInstance(::System::IntPtr native); static ContinueStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ContinueStmt(); @@ -938,8 +938,8 @@ namespace CppSharp { public: - BreakStmt(::CppSharp::CppParser::AST::BreakStmt* native); - BreakStmt(::CppSharp::CppParser::AST::BreakStmt* native, bool ownNativeInstance); + BreakStmt(struct ::CppSharp::CppParser::AST::BreakStmt* native); + BreakStmt(struct ::CppSharp::CppParser::AST::BreakStmt* native, bool ownNativeInstance); static BreakStmt^ __CreateInstance(::System::IntPtr native); static BreakStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BreakStmt(); @@ -959,8 +959,8 @@ namespace CppSharp { public: - ReturnStmt(::CppSharp::CppParser::AST::ReturnStmt* native); - ReturnStmt(::CppSharp::CppParser::AST::ReturnStmt* native, bool ownNativeInstance); + ReturnStmt(struct ::CppSharp::CppParser::AST::ReturnStmt* native); + ReturnStmt(struct ::CppSharp::CppParser::AST::ReturnStmt* native, bool ownNativeInstance); static ReturnStmt^ __CreateInstance(::System::IntPtr native); static ReturnStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ReturnStmt(); @@ -986,8 +986,8 @@ namespace CppSharp { public: - AsmStmt(::CppSharp::CppParser::AST::AsmStmt* native); - AsmStmt(::CppSharp::CppParser::AST::AsmStmt* native, bool ownNativeInstance); + AsmStmt(struct ::CppSharp::CppParser::AST::AsmStmt* native); + AsmStmt(struct ::CppSharp::CppParser::AST::AsmStmt* native, bool ownNativeInstance); static AsmStmt^ __CreateInstance(::System::IntPtr native); static AsmStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AsmStmt(); @@ -998,16 +998,16 @@ namespace CppSharp ~AsmStmt(); - property System::Collections::Generic::List^ Inputs + property ::System::Collections::Generic::List^ Inputs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } - property System::Collections::Generic::List^ Outputs + property ::System::Collections::Generic::List^ Outputs { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::SourceLocation AsmLoc @@ -1091,15 +1091,15 @@ namespace CppSharp Operand = 1 }; - property ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - AsmStringPiece(::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native); - AsmStringPiece(::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native, bool ownNativeInstance); + AsmStringPiece(struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native); + AsmStringPiece(struct ::CppSharp::CppParser::AST::GCCAsmStmt::AsmStringPiece* native, bool ownNativeInstance); static AsmStringPiece^ __CreateInstance(::System::IntPtr native); static AsmStringPiece^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AsmStringPiece(); @@ -1120,10 +1120,10 @@ namespace CppSharp void set(bool); } - property System::String^ String + property ::System::String^ String { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property unsigned int OperandNo @@ -1143,8 +1143,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - GCCAsmStmt(::CppSharp::CppParser::AST::GCCAsmStmt* native); - GCCAsmStmt(::CppSharp::CppParser::AST::GCCAsmStmt* native, bool ownNativeInstance); + GCCAsmStmt(struct ::CppSharp::CppParser::AST::GCCAsmStmt* native); + GCCAsmStmt(struct ::CppSharp::CppParser::AST::GCCAsmStmt* native, bool ownNativeInstance); static GCCAsmStmt^ __CreateInstance(::System::IntPtr native); static GCCAsmStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); GCCAsmStmt(); @@ -1164,8 +1164,8 @@ namespace CppSharp { public: - MSAsmStmt(::CppSharp::CppParser::AST::MSAsmStmt* native); - MSAsmStmt(::CppSharp::CppParser::AST::MSAsmStmt* native, bool ownNativeInstance); + MSAsmStmt(struct ::CppSharp::CppParser::AST::MSAsmStmt* native); + MSAsmStmt(struct ::CppSharp::CppParser::AST::MSAsmStmt* native, bool ownNativeInstance); static MSAsmStmt^ __CreateInstance(::System::IntPtr native); static MSAsmStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MSAsmStmt(); @@ -1192,10 +1192,10 @@ namespace CppSharp void set(unsigned int); } - property System::String^ AsmString + property ::System::String^ AsmString { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -1203,8 +1203,8 @@ namespace CppSharp { public: - SEHExceptStmt(::CppSharp::CppParser::AST::SEHExceptStmt* native); - SEHExceptStmt(::CppSharp::CppParser::AST::SEHExceptStmt* native, bool ownNativeInstance); + SEHExceptStmt(struct ::CppSharp::CppParser::AST::SEHExceptStmt* native); + SEHExceptStmt(struct ::CppSharp::CppParser::AST::SEHExceptStmt* native, bool ownNativeInstance); static SEHExceptStmt^ __CreateInstance(::System::IntPtr native); static SEHExceptStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SEHExceptStmt(); @@ -1236,8 +1236,8 @@ namespace CppSharp { public: - SEHFinallyStmt(::CppSharp::CppParser::AST::SEHFinallyStmt* native); - SEHFinallyStmt(::CppSharp::CppParser::AST::SEHFinallyStmt* native, bool ownNativeInstance); + SEHFinallyStmt(struct ::CppSharp::CppParser::AST::SEHFinallyStmt* native); + SEHFinallyStmt(struct ::CppSharp::CppParser::AST::SEHFinallyStmt* native, bool ownNativeInstance); static SEHFinallyStmt^ __CreateInstance(::System::IntPtr native); static SEHFinallyStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SEHFinallyStmt(); @@ -1263,8 +1263,8 @@ namespace CppSharp { public: - SEHTryStmt(::CppSharp::CppParser::AST::SEHTryStmt* native); - SEHTryStmt(::CppSharp::CppParser::AST::SEHTryStmt* native, bool ownNativeInstance); + SEHTryStmt(struct ::CppSharp::CppParser::AST::SEHTryStmt* native); + SEHTryStmt(struct ::CppSharp::CppParser::AST::SEHTryStmt* native, bool ownNativeInstance); static SEHTryStmt^ __CreateInstance(::System::IntPtr native); static SEHTryStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SEHTryStmt(); @@ -1314,8 +1314,8 @@ namespace CppSharp { public: - SEHLeaveStmt(::CppSharp::CppParser::AST::SEHLeaveStmt* native); - SEHLeaveStmt(::CppSharp::CppParser::AST::SEHLeaveStmt* native, bool ownNativeInstance); + SEHLeaveStmt(struct ::CppSharp::CppParser::AST::SEHLeaveStmt* native); + SEHLeaveStmt(struct ::CppSharp::CppParser::AST::SEHLeaveStmt* native, bool ownNativeInstance); static SEHLeaveStmt^ __CreateInstance(::System::IntPtr native); static SEHLeaveStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); SEHLeaveStmt(); @@ -1347,15 +1347,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::CapturedStmt::Capture* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::CapturedStmt::Capture* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Capture(::CppSharp::CppParser::AST::CapturedStmt::Capture* native); - Capture(::CppSharp::CppParser::AST::CapturedStmt::Capture* native, bool ownNativeInstance); + Capture(struct ::CppSharp::CppParser::AST::CapturedStmt::Capture* native); + Capture(struct ::CppSharp::CppParser::AST::CapturedStmt::Capture* native, bool ownNativeInstance); static Capture^ __CreateInstance(::System::IntPtr native); static Capture^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Capture(); @@ -1405,8 +1405,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - CapturedStmt(::CppSharp::CppParser::AST::CapturedStmt* native); - CapturedStmt(::CppSharp::CppParser::AST::CapturedStmt* native, bool ownNativeInstance); + CapturedStmt(struct ::CppSharp::CppParser::AST::CapturedStmt* native); + CapturedStmt(struct ::CppSharp::CppParser::AST::CapturedStmt* native, bool ownNativeInstance); static CapturedStmt^ __CreateInstance(::System::IntPtr native); static CapturedStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CapturedStmt(); @@ -1415,10 +1415,10 @@ namespace CppSharp ~CapturedStmt(); - property System::Collections::Generic::List^ CaptureInits + property ::System::Collections::Generic::List^ CaptureInits { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::Stmt^ capturedStmt @@ -1449,8 +1449,8 @@ namespace CppSharp { public: - CXXCatchStmt(::CppSharp::CppParser::AST::CXXCatchStmt* native); - CXXCatchStmt(::CppSharp::CppParser::AST::CXXCatchStmt* native, bool ownNativeInstance); + CXXCatchStmt(struct ::CppSharp::CppParser::AST::CXXCatchStmt* native); + CXXCatchStmt(struct ::CppSharp::CppParser::AST::CXXCatchStmt* native, bool ownNativeInstance); static CXXCatchStmt^ __CreateInstance(::System::IntPtr native); static CXXCatchStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXCatchStmt(); @@ -1482,8 +1482,8 @@ namespace CppSharp { public: - CXXTryStmt(::CppSharp::CppParser::AST::CXXTryStmt* native); - CXXTryStmt(::CppSharp::CppParser::AST::CXXTryStmt* native, bool ownNativeInstance); + CXXTryStmt(struct ::CppSharp::CppParser::AST::CXXTryStmt* native); + CXXTryStmt(struct ::CppSharp::CppParser::AST::CXXTryStmt* native, bool ownNativeInstance); static CXXTryStmt^ __CreateInstance(::System::IntPtr native); static CXXTryStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXTryStmt(); @@ -1515,8 +1515,8 @@ namespace CppSharp { public: - CXXForRangeStmt(::CppSharp::CppParser::AST::CXXForRangeStmt* native); - CXXForRangeStmt(::CppSharp::CppParser::AST::CXXForRangeStmt* native, bool ownNativeInstance); + CXXForRangeStmt(struct ::CppSharp::CppParser::AST::CXXForRangeStmt* native); + CXXForRangeStmt(struct ::CppSharp::CppParser::AST::CXXForRangeStmt* native, bool ownNativeInstance); static CXXForRangeStmt^ __CreateInstance(::System::IntPtr native); static CXXForRangeStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CXXForRangeStmt(); @@ -1608,8 +1608,8 @@ namespace CppSharp { public: - MSDependentExistsStmt(::CppSharp::CppParser::AST::MSDependentExistsStmt* native); - MSDependentExistsStmt(::CppSharp::CppParser::AST::MSDependentExistsStmt* native, bool ownNativeInstance); + MSDependentExistsStmt(struct ::CppSharp::CppParser::AST::MSDependentExistsStmt* native); + MSDependentExistsStmt(struct ::CppSharp::CppParser::AST::MSDependentExistsStmt* native, bool ownNativeInstance); static MSDependentExistsStmt^ __CreateInstance(::System::IntPtr native); static MSDependentExistsStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MSDependentExistsStmt(); @@ -1668,15 +1668,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - CtorArgs(::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native); - CtorArgs(::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native, bool ownNativeInstance); + CtorArgs(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native); + CtorArgs(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt::CtorArgs* native, bool ownNativeInstance); static CtorArgs^ __CreateInstance(::System::IntPtr native); static CtorArgs^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CtorArgs(); @@ -1690,8 +1690,8 @@ namespace CppSharp bool __ownsNativeInstance; }; - CoroutineBodyStmt(::CppSharp::CppParser::AST::CoroutineBodyStmt* native); - CoroutineBodyStmt(::CppSharp::CppParser::AST::CoroutineBodyStmt* native, bool ownNativeInstance); + CoroutineBodyStmt(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt* native); + CoroutineBodyStmt(struct ::CppSharp::CppParser::AST::CoroutineBodyStmt* native, bool ownNativeInstance); static CoroutineBodyStmt^ __CreateInstance(::System::IntPtr native); static CoroutineBodyStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CoroutineBodyStmt(); @@ -1790,8 +1790,8 @@ namespace CppSharp Count = 2 }; - CoreturnStmt(::CppSharp::CppParser::AST::CoreturnStmt* native); - CoreturnStmt(::CppSharp::CppParser::AST::CoreturnStmt* native, bool ownNativeInstance); + CoreturnStmt(struct ::CppSharp::CppParser::AST::CoreturnStmt* native); + CoreturnStmt(struct ::CppSharp::CppParser::AST::CoreturnStmt* native, bool ownNativeInstance); static CoreturnStmt^ __CreateInstance(::System::IntPtr native); static CoreturnStmt^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); CoreturnStmt(); diff --git a/src/CppParser/Bindings/CLI/Target.cpp b/src/CppParser/Bindings/CLI/Target.cpp index e054688d..1e56ff13 100644 --- a/src/CppParser/Bindings/CLI/Target.cpp +++ b/src/CppParser/Bindings/CLI/Target.cpp @@ -9,7 +9,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(::CppSharp::CppParser::ParserTargetInfo* native) +CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(struct ::CppSharp::CppParser::ParserTargetInfo* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -17,10 +17,10 @@ CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(::CppSharp::CppParser::Pars CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ParserTargetInfo::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*) native.ToPointer()); + return gcnew ::CppSharp::Parser::ParserTargetInfo((struct ::CppSharp::CppParser::ParserTargetInfo*) native.ToPointer()); } -CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(::CppSharp::CppParser::ParserTargetInfo* native, bool ownNativeInstance) +CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(struct ::CppSharp::CppParser::ParserTargetInfo* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -28,7 +28,7 @@ CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(::CppSharp::CppParser::Pars CppSharp::Parser::ParserTargetInfo^ CppSharp::Parser::ParserTargetInfo::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::ParserTargetInfo((::CppSharp::CppParser::ParserTargetInfo*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::ParserTargetInfo((struct ::CppSharp::CppParser::ParserTargetInfo*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::ParserTargetInfo::~ParserTargetInfo() @@ -39,7 +39,7 @@ CppSharp::Parser::ParserTargetInfo::~ParserTargetInfo() CppSharp::Parser::ParserTargetInfo::ParserTargetInfo() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::ParserTargetInfo(); + NativePtr = new struct ::CppSharp::CppParser::ParserTargetInfo(); } CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(CppSharp::Parser::ParserTargetInfo^ _0) @@ -47,427 +47,427 @@ CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(CppSharp::Parser::ParserTar __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::ParserTargetInfo*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::ParserTargetInfo(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::ParserTargetInfo*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::ParserTargetInfo(__arg0); } -System::IntPtr CppSharp::Parser::ParserTargetInfo::__Instance::get() +::System::IntPtr CppSharp::Parser::ParserTargetInfo::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::ParserTargetInfo::__Instance::set(System::IntPtr object) +void CppSharp::Parser::ParserTargetInfo::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::ParserTargetInfo*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::ParserTargetInfo*)object.ToPointer(); } -System::String^ CppSharp::Parser::ParserTargetInfo::ABI::get() +::System::String^ CppSharp::Parser::ParserTargetInfo::ABI::get() { - return clix::marshalString(((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->ABI); + return clix::marshalString(NativePtr->ABI); } -void CppSharp::Parser::ParserTargetInfo::ABI::set(System::String^ value) +void CppSharp::Parser::ParserTargetInfo::ABI::set(::System::String^ value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->ABI = clix::marshalString(value); + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->ABI = clix::marshalString(value); } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::Char16Type::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Type; + return (CppSharp::Parser::ParserIntType)NativePtr->char16Type; } void CppSharp::Parser::ParserTargetInfo::Char16Type::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Type = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Type = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::Char32Type::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Type; + return (CppSharp::Parser::ParserIntType)NativePtr->char32Type; } void CppSharp::Parser::ParserTargetInfo::Char32Type::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Type = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Type = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::Int64Type::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->int64Type; + return (CppSharp::Parser::ParserIntType)NativePtr->int64Type; } void CppSharp::Parser::ParserTargetInfo::Int64Type::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->int64Type = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->int64Type = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::IntMaxType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxType; + return (CppSharp::Parser::ParserIntType)NativePtr->intMaxType; } void CppSharp::Parser::ParserTargetInfo::IntMaxType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxType = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::IntPtrType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intPtrType; + return (CppSharp::Parser::ParserIntType)NativePtr->intPtrType; } void CppSharp::Parser::ParserTargetInfo::IntPtrType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intPtrType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intPtrType = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::SizeType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->sizeType; + return (CppSharp::Parser::ParserIntType)NativePtr->sizeType; } void CppSharp::Parser::ParserTargetInfo::SizeType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->sizeType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->sizeType = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::UIntMaxType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->uIntMaxType; + return (CppSharp::Parser::ParserIntType)NativePtr->uIntMaxType; } void CppSharp::Parser::ParserTargetInfo::UIntMaxType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->uIntMaxType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->uIntMaxType = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::WCharType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharType; + return (CppSharp::Parser::ParserIntType)NativePtr->wCharType; } void CppSharp::Parser::ParserTargetInfo::WCharType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharType = (enum ::CppSharp::CppParser::ParserIntType)value; } CppSharp::Parser::ParserIntType CppSharp::Parser::ParserTargetInfo::WIntType::get() { - return (CppSharp::Parser::ParserIntType)((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wIntType; + return (CppSharp::Parser::ParserIntType)NativePtr->wIntType; } void CppSharp::Parser::ParserTargetInfo::WIntType::set(CppSharp::Parser::ParserIntType value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wIntType = (::CppSharp::CppParser::ParserIntType)value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wIntType = (enum ::CppSharp::CppParser::ParserIntType)value; } unsigned int CppSharp::Parser::ParserTargetInfo::BoolAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolAlign; + return NativePtr->boolAlign; } void CppSharp::Parser::ParserTargetInfo::BoolAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::BoolWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolWidth; + return NativePtr->boolWidth; } void CppSharp::Parser::ParserTargetInfo::BoolWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->boolWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::CharAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charAlign; + return NativePtr->charAlign; } void CppSharp::Parser::ParserTargetInfo::CharAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::CharWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charWidth; + return NativePtr->charWidth; } void CppSharp::Parser::ParserTargetInfo::CharWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->charWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Char16Align::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Align; + return NativePtr->char16Align; } void CppSharp::Parser::ParserTargetInfo::Char16Align::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Align = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Align = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Char16Width::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Width; + return NativePtr->char16Width; } void CppSharp::Parser::ParserTargetInfo::Char16Width::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Width = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char16Width = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Char32Align::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Align; + return NativePtr->char32Align; } void CppSharp::Parser::ParserTargetInfo::Char32Align::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Align = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Align = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Char32Width::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Width; + return NativePtr->char32Width; } void CppSharp::Parser::ParserTargetInfo::Char32Width::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Width = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->char32Width = value; } unsigned int CppSharp::Parser::ParserTargetInfo::HalfAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfAlign; + return NativePtr->halfAlign; } void CppSharp::Parser::ParserTargetInfo::HalfAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::HalfWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfWidth; + return NativePtr->halfWidth; } void CppSharp::Parser::ParserTargetInfo::HalfWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->halfWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::FloatAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatAlign; + return NativePtr->floatAlign; } void CppSharp::Parser::ParserTargetInfo::FloatAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::FloatWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatWidth; + return NativePtr->floatWidth; } void CppSharp::Parser::ParserTargetInfo::FloatWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->floatWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::DoubleAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleAlign; + return NativePtr->doubleAlign; } void CppSharp::Parser::ParserTargetInfo::DoubleAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::DoubleWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleWidth; + return NativePtr->doubleWidth; } void CppSharp::Parser::ParserTargetInfo::DoubleWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->doubleWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::ShortAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortAlign; + return NativePtr->shortAlign; } void CppSharp::Parser::ParserTargetInfo::ShortAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::ShortWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortWidth; + return NativePtr->shortWidth; } void CppSharp::Parser::ParserTargetInfo::ShortWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->shortWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::IntAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intAlign; + return NativePtr->intAlign; } void CppSharp::Parser::ParserTargetInfo::IntAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::IntWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intWidth; + return NativePtr->intWidth; } void CppSharp::Parser::ParserTargetInfo::IntWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::IntMaxTWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxTWidth; + return NativePtr->intMaxTWidth; } void CppSharp::Parser::ParserTargetInfo::IntMaxTWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxTWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->intMaxTWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longAlign; + return NativePtr->longAlign; } void CppSharp::Parser::ParserTargetInfo::LongAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longWidth; + return NativePtr->longWidth; } void CppSharp::Parser::ParserTargetInfo::LongWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongDoubleAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleAlign; + return NativePtr->longDoubleAlign; } void CppSharp::Parser::ParserTargetInfo::LongDoubleAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongDoubleWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleWidth; + return NativePtr->longDoubleWidth; } void CppSharp::Parser::ParserTargetInfo::LongDoubleWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longDoubleWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongLongAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongAlign; + return NativePtr->longLongAlign; } void CppSharp::Parser::ParserTargetInfo::LongLongAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::LongLongWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongWidth; + return NativePtr->longLongWidth; } void CppSharp::Parser::ParserTargetInfo::LongLongWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->longLongWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::PointerAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerAlign; + return NativePtr->pointerAlign; } void CppSharp::Parser::ParserTargetInfo::PointerAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::PointerWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerWidth; + return NativePtr->pointerWidth; } void CppSharp::Parser::ParserTargetInfo::PointerWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->pointerWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::WCharAlign::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharAlign; + return NativePtr->wCharAlign; } void CppSharp::Parser::ParserTargetInfo::WCharAlign::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharAlign = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharAlign = value; } unsigned int CppSharp::Parser::ParserTargetInfo::WCharWidth::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharWidth; + return NativePtr->wCharWidth; } void CppSharp::Parser::ParserTargetInfo::WCharWidth::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharWidth = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->wCharWidth = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Float128Align::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Align; + return NativePtr->float128Align; } void CppSharp::Parser::ParserTargetInfo::Float128Align::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Align = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Align = value; } unsigned int CppSharp::Parser::ParserTargetInfo::Float128Width::get() { - return ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Width; + return NativePtr->float128Width; } void CppSharp::Parser::ParserTargetInfo::Float128Width::set(unsigned int value) { - ((::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Width = value; + ((struct ::CppSharp::CppParser::ParserTargetInfo*)NativePtr)->float128Width = value; } diff --git a/src/CppParser/Bindings/CLI/Target.h b/src/CppParser/Bindings/CLI/Target.h index 90e33f11..647ebd35 100644 --- a/src/CppParser/Bindings/CLI/Target.h +++ b/src/CppParser/Bindings/CLI/Target.h @@ -41,15 +41,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::ParserTargetInfo* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::ParserTargetInfo* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - ParserTargetInfo(::CppSharp::CppParser::ParserTargetInfo* native); - ParserTargetInfo(::CppSharp::CppParser::ParserTargetInfo* native, bool ownNativeInstance); + ParserTargetInfo(struct ::CppSharp::CppParser::ParserTargetInfo* native); + ParserTargetInfo(struct ::CppSharp::CppParser::ParserTargetInfo* native, bool ownNativeInstance); static ParserTargetInfo^ __CreateInstance(::System::IntPtr native); static ParserTargetInfo^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ParserTargetInfo(); @@ -58,10 +58,10 @@ namespace CppSharp ~ParserTargetInfo(); - property System::String^ ABI + property ::System::String^ ABI { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } property CppSharp::Parser::ParserIntType Char16Type diff --git a/src/CppParser/Bindings/CLI/Types.cpp b/src/CppParser/Bindings/CLI/Types.cpp index 7a234e9e..e36c7ffc 100644 --- a/src/CppParser/Bindings/CLI/Types.cpp +++ b/src/CppParser/Bindings/CLI/Types.cpp @@ -10,7 +10,7 @@ using namespace System; using namespace System::Runtime::InteropServices; -CppSharp::Parser::AST::Type::Type(::CppSharp::CppParser::AST::Type* native) +CppSharp::Parser::AST::Type::Type(struct ::CppSharp::CppParser::AST::Type* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -18,10 +18,10 @@ CppSharp::Parser::AST::Type::Type(::CppSharp::CppParser::AST::Type* native) CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Type::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*) native.ToPointer()); } -CppSharp::Parser::AST::Type::Type(::CppSharp::CppParser::AST::Type* native, bool ownNativeInstance) +CppSharp::Parser::AST::Type::Type(struct ::CppSharp::CppParser::AST::Type* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -29,7 +29,7 @@ CppSharp::Parser::AST::Type::Type(::CppSharp::CppParser::AST::Type* native, bool CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::Type::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::Type::~Type() @@ -40,8 +40,8 @@ CppSharp::Parser::AST::Type::~Type() CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::TypeKind kind) { __ownsNativeInstance = true; - auto __arg0 = (::CppSharp::CppParser::AST::TypeKind)kind; - NativePtr = new ::CppSharp::CppParser::AST::Type(__arg0); + auto __arg0 = (enum ::CppSharp::CppParser::AST::TypeKind)kind; + NativePtr = new struct ::CppSharp::CppParser::AST::Type(__arg0); } CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::Type^ _0) @@ -49,49 +49,49 @@ CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::Type^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::Type*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::Type(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::Type*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::Type(__arg0); } CppSharp::Parser::AST::Type::operator CppSharp::Parser::AST::Type^(CppSharp::Parser::AST::TypeKind kind) { - auto __arg0 = (::CppSharp::CppParser::AST::TypeKind)kind; + auto __arg0 = (enum ::CppSharp::CppParser::AST::TypeKind)kind; auto __ret = (::CppSharp::CppParser::AST::Type) __arg0; - auto ____ret = new ::CppSharp::CppParser::AST::Type(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)____ret, true); + auto ____ret = new struct ::CppSharp::CppParser::AST::Type(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*)____ret, true); } -System::IntPtr CppSharp::Parser::AST::Type::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::Type::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::Type::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::Type::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::Type*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::Type*)object.ToPointer(); } CppSharp::Parser::AST::TypeKind CppSharp::Parser::AST::Type::Kind::get() { - return (CppSharp::Parser::AST::TypeKind)((::CppSharp::CppParser::AST::Type*)NativePtr)->kind; + return (CppSharp::Parser::AST::TypeKind)NativePtr->kind; } void CppSharp::Parser::AST::Type::Kind::set(CppSharp::Parser::AST::TypeKind value) { - ((::CppSharp::CppParser::AST::Type*)NativePtr)->kind = (::CppSharp::CppParser::AST::TypeKind)value; + ((struct ::CppSharp::CppParser::AST::Type*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::TypeKind)value; } bool CppSharp::Parser::AST::Type::IsDependent::get() { - return ((::CppSharp::CppParser::AST::Type*)NativePtr)->isDependent; + return NativePtr->isDependent; } void CppSharp::Parser::AST::Type::IsDependent::set(bool value) { - ((::CppSharp::CppParser::AST::Type*)NativePtr)->isDependent = value; + ((struct ::CppSharp::CppParser::AST::Type*)NativePtr)->isDependent = value; } -CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(::CppSharp::CppParser::AST::TypeQualifiers* native) +CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(struct ::CppSharp::CppParser::AST::TypeQualifiers* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -99,10 +99,10 @@ CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(::CppSharp::CppParser::AST CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::TypeQualifiers::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypeQualifiers((::CppSharp::CppParser::AST::TypeQualifiers*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypeQualifiers((struct ::CppSharp::CppParser::AST::TypeQualifiers*) native.ToPointer()); } -CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(::CppSharp::CppParser::AST::TypeQualifiers* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(struct ::CppSharp::CppParser::AST::TypeQualifiers* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -110,7 +110,7 @@ CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(::CppSharp::CppParser::AST CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::TypeQualifiers::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypeQualifiers((::CppSharp::CppParser::AST::TypeQualifiers*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypeQualifiers((struct ::CppSharp::CppParser::AST::TypeQualifiers*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypeQualifiers::~TypeQualifiers() @@ -123,57 +123,57 @@ CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(CppSharp::Parser::AST::Typ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypeQualifiers*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypeQualifiers(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypeQualifiers*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypeQualifiers(__arg0); } CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypeQualifiers(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypeQualifiers(); } -System::IntPtr CppSharp::Parser::AST::TypeQualifiers::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::TypeQualifiers::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::TypeQualifiers::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::TypeQualifiers::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::TypeQualifiers*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::TypeQualifiers*)object.ToPointer(); } bool CppSharp::Parser::AST::TypeQualifiers::IsConst::get() { - return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isConst; + return NativePtr->isConst; } void CppSharp::Parser::AST::TypeQualifiers::IsConst::set(bool value) { - ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isConst = value; + ((struct ::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isConst = value; } bool CppSharp::Parser::AST::TypeQualifiers::IsVolatile::get() { - return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isVolatile; + return NativePtr->isVolatile; } void CppSharp::Parser::AST::TypeQualifiers::IsVolatile::set(bool value) { - ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isVolatile = value; + ((struct ::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isVolatile = value; } bool CppSharp::Parser::AST::TypeQualifiers::IsRestrict::get() { - return ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isRestrict; + return NativePtr->isRestrict; } void CppSharp::Parser::AST::TypeQualifiers::IsRestrict::set(bool value) { - ((::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isRestrict = value; + ((struct ::CppSharp::CppParser::AST::TypeQualifiers*)NativePtr)->isRestrict = value; } -CppSharp::Parser::AST::QualifiedType::QualifiedType(::CppSharp::CppParser::AST::QualifiedType* native) +CppSharp::Parser::AST::QualifiedType::QualifiedType(struct ::CppSharp::CppParser::AST::QualifiedType* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -181,10 +181,10 @@ CppSharp::Parser::AST::QualifiedType::QualifiedType(::CppSharp::CppParser::AST:: CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::QualifiedType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*) native.ToPointer()); } -CppSharp::Parser::AST::QualifiedType::QualifiedType(::CppSharp::CppParser::AST::QualifiedType* native, bool ownNativeInstance) +CppSharp::Parser::AST::QualifiedType::QualifiedType(struct ::CppSharp::CppParser::AST::QualifiedType* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -192,7 +192,7 @@ CppSharp::Parser::AST::QualifiedType::QualifiedType(::CppSharp::CppParser::AST:: CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::QualifiedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::QualifiedType::~QualifiedType() @@ -203,7 +203,7 @@ CppSharp::Parser::AST::QualifiedType::~QualifiedType() CppSharp::Parser::AST::QualifiedType::QualifiedType() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::QualifiedType(); + NativePtr = new struct ::CppSharp::CppParser::AST::QualifiedType(); } CppSharp::Parser::AST::QualifiedType::QualifiedType(CppSharp::Parser::AST::QualifiedType^ _0) @@ -211,60 +211,60 @@ CppSharp::Parser::AST::QualifiedType::QualifiedType(CppSharp::Parser::AST::Quali __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::QualifiedType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::QualifiedType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::QualifiedType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::QualifiedType(__arg0); } -System::IntPtr CppSharp::Parser::AST::QualifiedType::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::QualifiedType::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::QualifiedType::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::QualifiedType::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::QualifiedType*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::QualifiedType*)object.ToPointer(); } CppSharp::Parser::AST::Type^ CppSharp::Parser::AST::QualifiedType::Type::get() { - return (((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->type); + return (NativePtr->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Type((struct ::CppSharp::CppParser::AST::Type*)NativePtr->type); } void CppSharp::Parser::AST::QualifiedType::Type::set(CppSharp::Parser::AST::Type^ value) { - ((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->type = (::CppSharp::CppParser::AST::Type*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->type = (struct ::CppSharp::CppParser::AST::Type*)value->NativePtr; } CppSharp::Parser::AST::TypeQualifiers^ CppSharp::Parser::AST::QualifiedType::Qualifiers::get() { - return (&((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->qualifiers == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeQualifiers((::CppSharp::CppParser::AST::TypeQualifiers*)&((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->qualifiers); + return (&NativePtr->qualifiers == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeQualifiers((struct ::CppSharp::CppParser::AST::TypeQualifiers*)&NativePtr->qualifiers); } void CppSharp::Parser::AST::QualifiedType::Qualifiers::set(CppSharp::Parser::AST::TypeQualifiers^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->qualifiers = *(::CppSharp::CppParser::AST::TypeQualifiers*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::QualifiedType*)NativePtr)->qualifiers = *(struct ::CppSharp::CppParser::AST::TypeQualifiers*)value->NativePtr; } -CppSharp::Parser::AST::TagType::TagType(::CppSharp::CppParser::AST::TagType* native) +CppSharp::Parser::AST::TagType::TagType(struct ::CppSharp::CppParser::AST::TagType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::TagType^ CppSharp::Parser::AST::TagType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TagType((::CppSharp::CppParser::AST::TagType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TagType((struct ::CppSharp::CppParser::AST::TagType*) native.ToPointer()); } -CppSharp::Parser::AST::TagType::TagType(::CppSharp::CppParser::AST::TagType* native, bool ownNativeInstance) +CppSharp::Parser::AST::TagType::TagType(struct ::CppSharp::CppParser::AST::TagType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::TagType^ CppSharp::Parser::AST::TagType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TagType((::CppSharp::CppParser::AST::TagType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TagType((struct ::CppSharp::CppParser::AST::TagType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TagType::~TagType() @@ -275,7 +275,7 @@ CppSharp::Parser::AST::TagType::TagType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TagType(); + NativePtr = new struct ::CppSharp::CppParser::AST::TagType(); } CppSharp::Parser::AST::TagType::TagType(CppSharp::Parser::AST::TagType^ _0) @@ -284,38 +284,38 @@ CppSharp::Parser::AST::TagType::TagType(CppSharp::Parser::AST::TagType^ _0) __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TagType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TagType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TagType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TagType(__arg0); } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::TagType::Declaration::get() { - return (((::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration); + return (((struct ::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)((struct ::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration); } void CppSharp::Parser::AST::TagType::Declaration::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TagType*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } -CppSharp::Parser::AST::ArrayType::ArrayType(::CppSharp::CppParser::AST::ArrayType* native) +CppSharp::Parser::AST::ArrayType::ArrayType(struct ::CppSharp::CppParser::AST::ArrayType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::ArrayType^ CppSharp::Parser::AST::ArrayType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::ArrayType((::CppSharp::CppParser::AST::ArrayType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::ArrayType((struct ::CppSharp::CppParser::AST::ArrayType*) native.ToPointer()); } -CppSharp::Parser::AST::ArrayType::ArrayType(::CppSharp::CppParser::AST::ArrayType* native, bool ownNativeInstance) +CppSharp::Parser::AST::ArrayType::ArrayType(struct ::CppSharp::CppParser::AST::ArrayType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::ArrayType^ CppSharp::Parser::AST::ArrayType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::ArrayType((::CppSharp::CppParser::AST::ArrayType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::ArrayType((struct ::CppSharp::CppParser::AST::ArrayType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::ArrayType::~ArrayType() @@ -326,7 +326,7 @@ CppSharp::Parser::AST::ArrayType::ArrayType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::ArrayType(); + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayType(); } CppSharp::Parser::AST::ArrayType::ArrayType(CppSharp::Parser::AST::ArrayType^ _0) @@ -335,70 +335,70 @@ CppSharp::Parser::AST::ArrayType::ArrayType(CppSharp::Parser::AST::ArrayType^ _0 __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::ArrayType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::ArrayType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::ArrayType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::ArrayType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::ArrayType::QualifiedType::get() { - return (&((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType); + return (&((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType); } void CppSharp::Parser::AST::ArrayType::QualifiedType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->qualifiedType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::ArrayType::ArraySize CppSharp::Parser::AST::ArrayType::SizeType::get() { - return (CppSharp::Parser::AST::ArrayType::ArraySize)((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->sizeType; + return (CppSharp::Parser::AST::ArrayType::ArraySize)((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->sizeType; } void CppSharp::Parser::AST::ArrayType::SizeType::set(CppSharp::Parser::AST::ArrayType::ArraySize value) { - ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->sizeType = (::CppSharp::CppParser::AST::ArrayType::ArraySize)value; + ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->sizeType = (enum ::CppSharp::CppParser::AST::ArrayType::ArraySize)value; } long CppSharp::Parser::AST::ArrayType::Size::get() { - return ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->size; + return ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->size; } void CppSharp::Parser::AST::ArrayType::Size::set(long value) { - ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->size = value; + ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->size = value; } long CppSharp::Parser::AST::ArrayType::ElementSize::get() { - return ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->elementSize; + return ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->elementSize; } void CppSharp::Parser::AST::ArrayType::ElementSize::set(long value) { - ((::CppSharp::CppParser::AST::ArrayType*)NativePtr)->elementSize = value; + ((struct ::CppSharp::CppParser::AST::ArrayType*)NativePtr)->elementSize = value; } -CppSharp::Parser::AST::FunctionType::FunctionType(::CppSharp::CppParser::AST::FunctionType* native) +CppSharp::Parser::AST::FunctionType::FunctionType(struct ::CppSharp::CppParser::AST::FunctionType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::FunctionType^ CppSharp::Parser::AST::FunctionType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::FunctionType((::CppSharp::CppParser::AST::FunctionType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::FunctionType((struct ::CppSharp::CppParser::AST::FunctionType*) native.ToPointer()); } -CppSharp::Parser::AST::FunctionType::FunctionType(::CppSharp::CppParser::AST::FunctionType* native, bool ownNativeInstance) +CppSharp::Parser::AST::FunctionType::FunctionType(struct ::CppSharp::CppParser::AST::FunctionType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::FunctionType^ CppSharp::Parser::AST::FunctionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::FunctionType((::CppSharp::CppParser::AST::FunctionType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::FunctionType((struct ::CppSharp::CppParser::AST::FunctionType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::FunctionType::~FunctionType() @@ -407,7 +407,7 @@ CppSharp::Parser::AST::FunctionType::~FunctionType() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::FunctionType*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::FunctionType*) __nativePtr; } } @@ -415,27 +415,27 @@ CppSharp::Parser::AST::FunctionType::FunctionType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::FunctionType(); + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionType(); } CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::FunctionType::GetParameters(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParameters(i); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParameters(i); if (__ret == nullptr) return nullptr; - return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)__ret); + return (__ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*)__ret); } void CppSharp::Parser::AST::FunctionType::AddParameters(CppSharp::Parser::AST::Parameter^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto __arg0 = (::CppSharp::CppParser::AST::Parameter*)s->NativePtr; - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->addParameters(__arg0); + auto __arg0 = (struct ::CppSharp::CppParser::AST::Parameter*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->addParameters(__arg0); } void CppSharp::Parser::AST::FunctionType::ClearParameters() { - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->clearParameters(); + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->clearParameters(); } CppSharp::Parser::AST::FunctionType::FunctionType(CppSharp::Parser::AST::FunctionType^ _0) @@ -444,88 +444,89 @@ CppSharp::Parser::AST::FunctionType::FunctionType(CppSharp::Parser::AST::Functio __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::FunctionType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::FunctionType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::FunctionType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::FunctionType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::FunctionType::ReturnType::get() { - return (&((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType); + return (&((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType); } void CppSharp::Parser::AST::FunctionType::ReturnType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->returnType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::CallingConvention CppSharp::Parser::AST::FunctionType::CallingConvention::get() { - return (CppSharp::Parser::AST::CallingConvention)((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->callingConvention; + return (CppSharp::Parser::AST::CallingConvention)((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->callingConvention; } void CppSharp::Parser::AST::FunctionType::CallingConvention::set(CppSharp::Parser::AST::CallingConvention value) { - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->callingConvention = (::CppSharp::CppParser::AST::CallingConvention)value; + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->callingConvention = (enum ::CppSharp::CppParser::AST::CallingConvention)value; } CppSharp::Parser::AST::ExceptionSpecType CppSharp::Parser::AST::FunctionType::ExceptionSpecType::get() { - return (CppSharp::Parser::AST::ExceptionSpecType)((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->exceptionSpecType; + return (CppSharp::Parser::AST::ExceptionSpecType)((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->exceptionSpecType; } void CppSharp::Parser::AST::FunctionType::ExceptionSpecType::set(CppSharp::Parser::AST::ExceptionSpecType value) { - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->exceptionSpecType = (::CppSharp::CppParser::AST::ExceptionSpecType)value; + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->exceptionSpecType = (enum ::CppSharp::CppParser::AST::ExceptionSpecType)value; } -System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionType::Parameters::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::FunctionType::Parameters::get() { - auto _tmp__Parameters = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->Parameters) + auto _tmp__Parameters = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->Parameters; + for(auto _element : __list0) { - auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((::CppSharp::CppParser::AST::Parameter*)_element); + auto _marshalElement = (_element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Parameter((struct ::CppSharp::CppParser::AST::Parameter*)_element); _tmp__Parameters->Add(_marshalElement); } return _tmp__Parameters; } -void CppSharp::Parser::AST::FunctionType::Parameters::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::FunctionType::Parameters::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::Parameter*>(); for each(CppSharp::Parser::AST::Parameter^ _element in value) { - auto _marshalElement = (::CppSharp::CppParser::AST::Parameter*)_element->NativePtr; + auto _marshalElement = (struct ::CppSharp::CppParser::AST::Parameter*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->Parameters = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->Parameters = _tmpvalue; } unsigned int CppSharp::Parser::AST::FunctionType::ParametersCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParametersCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::FunctionType*)NativePtr)->getParametersCount(); return __ret; } -CppSharp::Parser::AST::PointerType::PointerType(::CppSharp::CppParser::AST::PointerType* native) +CppSharp::Parser::AST::PointerType::PointerType(struct ::CppSharp::CppParser::AST::PointerType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::PointerType^ CppSharp::Parser::AST::PointerType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PointerType((::CppSharp::CppParser::AST::PointerType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PointerType((struct ::CppSharp::CppParser::AST::PointerType*) native.ToPointer()); } -CppSharp::Parser::AST::PointerType::PointerType(::CppSharp::CppParser::AST::PointerType* native, bool ownNativeInstance) +CppSharp::Parser::AST::PointerType::PointerType(struct ::CppSharp::CppParser::AST::PointerType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::PointerType^ CppSharp::Parser::AST::PointerType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PointerType((::CppSharp::CppParser::AST::PointerType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PointerType((struct ::CppSharp::CppParser::AST::PointerType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PointerType::~PointerType() @@ -536,7 +537,7 @@ CppSharp::Parser::AST::PointerType::PointerType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PointerType(); + NativePtr = new struct ::CppSharp::CppParser::AST::PointerType(); } CppSharp::Parser::AST::PointerType::PointerType(CppSharp::Parser::AST::PointerType^ _0) @@ -545,50 +546,50 @@ CppSharp::Parser::AST::PointerType::PointerType(CppSharp::Parser::AST::PointerTy __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PointerType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PointerType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PointerType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PointerType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::PointerType::QualifiedPointee::get() { - return (&((::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee); + return (&((struct ::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee); } void CppSharp::Parser::AST::PointerType::QualifiedPointee::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::PointerType*)NativePtr)->qualifiedPointee = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::PointerType::TypeModifier CppSharp::Parser::AST::PointerType::Modifier::get() { - return (CppSharp::Parser::AST::PointerType::TypeModifier)((::CppSharp::CppParser::AST::PointerType*)NativePtr)->modifier; + return (CppSharp::Parser::AST::PointerType::TypeModifier)((struct ::CppSharp::CppParser::AST::PointerType*)NativePtr)->modifier; } void CppSharp::Parser::AST::PointerType::Modifier::set(CppSharp::Parser::AST::PointerType::TypeModifier value) { - ((::CppSharp::CppParser::AST::PointerType*)NativePtr)->modifier = (::CppSharp::CppParser::AST::PointerType::TypeModifier)value; + ((struct ::CppSharp::CppParser::AST::PointerType*)NativePtr)->modifier = (enum ::CppSharp::CppParser::AST::PointerType::TypeModifier)value; } -CppSharp::Parser::AST::MemberPointerType::MemberPointerType(::CppSharp::CppParser::AST::MemberPointerType* native) +CppSharp::Parser::AST::MemberPointerType::MemberPointerType(struct ::CppSharp::CppParser::AST::MemberPointerType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::MemberPointerType^ CppSharp::Parser::AST::MemberPointerType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::MemberPointerType((::CppSharp::CppParser::AST::MemberPointerType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::MemberPointerType((struct ::CppSharp::CppParser::AST::MemberPointerType*) native.ToPointer()); } -CppSharp::Parser::AST::MemberPointerType::MemberPointerType(::CppSharp::CppParser::AST::MemberPointerType* native, bool ownNativeInstance) +CppSharp::Parser::AST::MemberPointerType::MemberPointerType(struct ::CppSharp::CppParser::AST::MemberPointerType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::MemberPointerType^ CppSharp::Parser::AST::MemberPointerType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::MemberPointerType((::CppSharp::CppParser::AST::MemberPointerType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::MemberPointerType((struct ::CppSharp::CppParser::AST::MemberPointerType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::MemberPointerType::~MemberPointerType() @@ -599,7 +600,7 @@ CppSharp::Parser::AST::MemberPointerType::MemberPointerType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::MemberPointerType(); + NativePtr = new struct ::CppSharp::CppParser::AST::MemberPointerType(); } CppSharp::Parser::AST::MemberPointerType::MemberPointerType(CppSharp::Parser::AST::MemberPointerType^ _0) @@ -608,40 +609,40 @@ CppSharp::Parser::AST::MemberPointerType::MemberPointerType(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::MemberPointerType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::MemberPointerType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::MemberPointerType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::MemberPointerType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::MemberPointerType::Pointee::get() { - return (&((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee); + return (&((struct ::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee); } void CppSharp::Parser::AST::MemberPointerType::Pointee::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::MemberPointerType*)NativePtr)->pointee = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::TypedefType::TypedefType(::CppSharp::CppParser::AST::TypedefType* native) +CppSharp::Parser::AST::TypedefType::TypedefType(struct ::CppSharp::CppParser::AST::TypedefType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::TypedefType^ CppSharp::Parser::AST::TypedefType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TypedefType((::CppSharp::CppParser::AST::TypedefType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TypedefType((struct ::CppSharp::CppParser::AST::TypedefType*) native.ToPointer()); } -CppSharp::Parser::AST::TypedefType::TypedefType(::CppSharp::CppParser::AST::TypedefType* native, bool ownNativeInstance) +CppSharp::Parser::AST::TypedefType::TypedefType(struct ::CppSharp::CppParser::AST::TypedefType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::TypedefType^ CppSharp::Parser::AST::TypedefType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TypedefType((::CppSharp::CppParser::AST::TypedefType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TypedefType((struct ::CppSharp::CppParser::AST::TypedefType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TypedefType::~TypedefType() @@ -652,7 +653,7 @@ CppSharp::Parser::AST::TypedefType::TypedefType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TypedefType(); + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefType(); } CppSharp::Parser::AST::TypedefType::TypedefType(CppSharp::Parser::AST::TypedefType^ _0) @@ -661,38 +662,38 @@ CppSharp::Parser::AST::TypedefType::TypedefType(CppSharp::Parser::AST::TypedefTy __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TypedefType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TypedefType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TypedefType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TypedefType(__arg0); } CppSharp::Parser::AST::TypedefNameDecl^ CppSharp::Parser::AST::TypedefType::Declaration::get() { - return (((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefNameDecl((::CppSharp::CppParser::AST::TypedefNameDecl*)((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration); + return (((struct ::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypedefNameDecl((struct ::CppSharp::CppParser::AST::TypedefNameDecl*)((struct ::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration); } void CppSharp::Parser::AST::TypedefType::Declaration::set(CppSharp::Parser::AST::TypedefNameDecl^ value) { - ((::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration = (::CppSharp::CppParser::AST::TypedefNameDecl*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TypedefType*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::TypedefNameDecl*)value->NativePtr; } -CppSharp::Parser::AST::AttributedType::AttributedType(::CppSharp::CppParser::AST::AttributedType* native) +CppSharp::Parser::AST::AttributedType::AttributedType(struct ::CppSharp::CppParser::AST::AttributedType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::AttributedType^ CppSharp::Parser::AST::AttributedType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::AttributedType((::CppSharp::CppParser::AST::AttributedType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::AttributedType((struct ::CppSharp::CppParser::AST::AttributedType*) native.ToPointer()); } -CppSharp::Parser::AST::AttributedType::AttributedType(::CppSharp::CppParser::AST::AttributedType* native, bool ownNativeInstance) +CppSharp::Parser::AST::AttributedType::AttributedType(struct ::CppSharp::CppParser::AST::AttributedType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::AttributedType^ CppSharp::Parser::AST::AttributedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::AttributedType((::CppSharp::CppParser::AST::AttributedType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::AttributedType((struct ::CppSharp::CppParser::AST::AttributedType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::AttributedType::~AttributedType() @@ -703,7 +704,7 @@ CppSharp::Parser::AST::AttributedType::AttributedType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::AttributedType(); + NativePtr = new struct ::CppSharp::CppParser::AST::AttributedType(); } CppSharp::Parser::AST::AttributedType::AttributedType(CppSharp::Parser::AST::AttributedType^ _0) @@ -712,52 +713,52 @@ CppSharp::Parser::AST::AttributedType::AttributedType(CppSharp::Parser::AST::Att __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::AttributedType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::AttributedType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::AttributedType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::AttributedType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::AttributedType::Modified::get() { - return (&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified); + return (&((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified); } void CppSharp::Parser::AST::AttributedType::Modified::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->modified = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::AttributedType::Equivalent::get() { - return (&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent); + return (&((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent); } void CppSharp::Parser::AST::AttributedType::Equivalent::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::AttributedType*)NativePtr)->equivalent = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::DecayedType::DecayedType(::CppSharp::CppParser::AST::DecayedType* native) +CppSharp::Parser::AST::DecayedType::DecayedType(struct ::CppSharp::CppParser::AST::DecayedType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::DecayedType^ CppSharp::Parser::AST::DecayedType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DecayedType((::CppSharp::CppParser::AST::DecayedType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DecayedType((struct ::CppSharp::CppParser::AST::DecayedType*) native.ToPointer()); } -CppSharp::Parser::AST::DecayedType::DecayedType(::CppSharp::CppParser::AST::DecayedType* native, bool ownNativeInstance) +CppSharp::Parser::AST::DecayedType::DecayedType(struct ::CppSharp::CppParser::AST::DecayedType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::DecayedType^ CppSharp::Parser::AST::DecayedType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DecayedType((::CppSharp::CppParser::AST::DecayedType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DecayedType((struct ::CppSharp::CppParser::AST::DecayedType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DecayedType::~DecayedType() @@ -768,7 +769,7 @@ CppSharp::Parser::AST::DecayedType::DecayedType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DecayedType(); + NativePtr = new struct ::CppSharp::CppParser::AST::DecayedType(); } CppSharp::Parser::AST::DecayedType::DecayedType(CppSharp::Parser::AST::DecayedType^ _0) @@ -777,47 +778,47 @@ CppSharp::Parser::AST::DecayedType::DecayedType(CppSharp::Parser::AST::DecayedTy __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DecayedType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DecayedType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DecayedType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DecayedType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Decayed::get() { - return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed); + return (&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed); } void CppSharp::Parser::AST::DecayedType::Decayed::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->decayed = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Original::get() { - return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original); + return (&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original); } void CppSharp::Parser::AST::DecayedType::Original::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->original = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DecayedType::Pointee::get() { - return (&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee); + return (&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee); } void CppSharp::Parser::AST::DecayedType::Pointee::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DecayedType*)NativePtr)->pointee = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::TemplateArgument::TemplateArgument(::CppSharp::CppParser::AST::TemplateArgument* native) +CppSharp::Parser::AST::TemplateArgument::TemplateArgument(struct ::CppSharp::CppParser::AST::TemplateArgument* native) : __ownsNativeInstance(false) { NativePtr = native; @@ -825,10 +826,10 @@ CppSharp::Parser::AST::TemplateArgument::TemplateArgument(::CppSharp::CppParser: CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateArgument::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateArgument::TemplateArgument(::CppSharp::CppParser::AST::TemplateArgument* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateArgument::TemplateArgument(struct ::CppSharp::CppParser::AST::TemplateArgument* native, bool ownNativeInstance) : __ownsNativeInstance(ownNativeInstance) { NativePtr = native; @@ -836,7 +837,7 @@ CppSharp::Parser::AST::TemplateArgument::TemplateArgument(::CppSharp::CppParser: CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateArgument::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateArgument::~TemplateArgument() @@ -847,7 +848,7 @@ CppSharp::Parser::AST::TemplateArgument::~TemplateArgument() CppSharp::Parser::AST::TemplateArgument::TemplateArgument() { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TemplateArgument(); + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateArgument(); } CppSharp::Parser::AST::TemplateArgument::TemplateArgument(CppSharp::Parser::AST::TemplateArgument^ _0) @@ -855,80 +856,80 @@ CppSharp::Parser::AST::TemplateArgument::TemplateArgument(CppSharp::Parser::AST: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateArgument(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateArgument(__arg0); } -System::IntPtr CppSharp::Parser::AST::TemplateArgument::__Instance::get() +::System::IntPtr CppSharp::Parser::AST::TemplateArgument::__Instance::get() { - return System::IntPtr(NativePtr); + return ::System::IntPtr(NativePtr); } -void CppSharp::Parser::AST::TemplateArgument::__Instance::set(System::IntPtr object) +void CppSharp::Parser::AST::TemplateArgument::__Instance::set(::System::IntPtr object) { - NativePtr = (::CppSharp::CppParser::AST::TemplateArgument*)object.ToPointer(); + NativePtr = (struct ::CppSharp::CppParser::AST::TemplateArgument*)object.ToPointer(); } CppSharp::Parser::AST::TemplateArgument::ArgumentKind CppSharp::Parser::AST::TemplateArgument::Kind::get() { - return (CppSharp::Parser::AST::TemplateArgument::ArgumentKind)((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->kind; + return (CppSharp::Parser::AST::TemplateArgument::ArgumentKind)NativePtr->kind; } void CppSharp::Parser::AST::TemplateArgument::Kind::set(CppSharp::Parser::AST::TemplateArgument::ArgumentKind value) { - ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->kind = (::CppSharp::CppParser::AST::TemplateArgument::ArgumentKind)value; + ((struct ::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->kind = (enum ::CppSharp::CppParser::AST::TemplateArgument::ArgumentKind)value; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TemplateArgument::Type::get() { - return (&((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->type); + return (&NativePtr->type == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&NativePtr->type); } void CppSharp::Parser::AST::TemplateArgument::Type::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->type = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->type = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::Declaration^ CppSharp::Parser::AST::TemplateArgument::Declaration::get() { - return (((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((::CppSharp::CppParser::AST::Declaration*)((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->declaration); + return (NativePtr->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Declaration((struct ::CppSharp::CppParser::AST::Declaration*)NativePtr->declaration); } void CppSharp::Parser::AST::TemplateArgument::Declaration::set(CppSharp::Parser::AST::Declaration^ value) { - ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->declaration = (::CppSharp::CppParser::AST::Declaration*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::Declaration*)value->NativePtr; } long CppSharp::Parser::AST::TemplateArgument::Integral::get() { - return ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->integral; + return NativePtr->integral; } void CppSharp::Parser::AST::TemplateArgument::Integral::set(long value) { - ((::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->integral = value; + ((struct ::CppSharp::CppParser::AST::TemplateArgument*)NativePtr)->integral = value; } -CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(::CppSharp::CppParser::AST::TemplateSpecializationType* native) +CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(struct ::CppSharp::CppParser::AST::TemplateSpecializationType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::TemplateSpecializationType^ CppSharp::Parser::AST::TemplateSpecializationType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateSpecializationType((::CppSharp::CppParser::AST::TemplateSpecializationType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateSpecializationType((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(::CppSharp::CppParser::AST::TemplateSpecializationType* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(struct ::CppSharp::CppParser::AST::TemplateSpecializationType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::TemplateSpecializationType^ CppSharp::Parser::AST::TemplateSpecializationType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateSpecializationType((::CppSharp::CppParser::AST::TemplateSpecializationType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateSpecializationType((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateSpecializationType::~TemplateSpecializationType() @@ -937,7 +938,7 @@ CppSharp::Parser::AST::TemplateSpecializationType::~TemplateSpecializationType() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TemplateSpecializationType*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TemplateSpecializationType*) __nativePtr; } } @@ -945,7 +946,7 @@ CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TemplateSpecializationType(); + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateSpecializationType(); } CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(CppSharp::Parser::AST::TemplateSpecializationType^ _0) @@ -954,101 +955,102 @@ CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(Cp __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateSpecializationType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateSpecializationType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateSpecializationType(__arg0); } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateSpecializationType::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateArgument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); } void CppSharp::Parser::AST::TemplateSpecializationType::AddArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; - ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::TemplateSpecializationType::ClearArguments() { - ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->clearArguments(); } -System::Collections::Generic::List^ CppSharp::Parser::AST::TemplateSpecializationType::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::TemplateSpecializationType::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::TemplateArgument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::TemplateArgument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::TemplateSpecializationType::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::TemplateSpecializationType::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TemplateArgument>(); for each(CppSharp::Parser::AST::TemplateArgument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->Arguments = _tmpvalue; } CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::TemplateSpecializationType::Template::get() { - return (((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((::CppSharp::CppParser::AST::Template*)((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template); + return (((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Template((struct ::CppSharp::CppParser::AST::Template*)((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template); } void CppSharp::Parser::AST::TemplateSpecializationType::Template::set(CppSharp::Parser::AST::Template^ value) { - ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template = (::CppSharp::CppParser::AST::Template*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->_template = (struct ::CppSharp::CppParser::AST::Template*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TemplateSpecializationType::Desugared::get() { - return (&((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared); + return (&((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared); } void CppSharp::Parser::AST::TemplateSpecializationType::Desugared::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->desugared = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } unsigned int CppSharp::Parser::AST::TemplateSpecializationType::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::TemplateSpecializationType*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpecializationType(::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native) +CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpecializationType(struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::DependentTemplateSpecializationType^ CppSharp::Parser::AST::DependentTemplateSpecializationType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DependentTemplateSpecializationType((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DependentTemplateSpecializationType((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) native.ToPointer()); } -CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpecializationType(::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native, bool ownNativeInstance) +CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpecializationType(struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::DependentTemplateSpecializationType^ CppSharp::Parser::AST::DependentTemplateSpecializationType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DependentTemplateSpecializationType((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DependentTemplateSpecializationType((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DependentTemplateSpecializationType::~DependentTemplateSpecializationType() @@ -1057,7 +1059,7 @@ CppSharp::Parser::AST::DependentTemplateSpecializationType::~DependentTemplateSp { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*) __nativePtr; } } @@ -1065,7 +1067,7 @@ CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpe : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DependentTemplateSpecializationType(); + NativePtr = new struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType(); } CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpecializationType(CppSharp::Parser::AST::DependentTemplateSpecializationType^ _0) @@ -1074,91 +1076,92 @@ CppSharp::Parser::AST::DependentTemplateSpecializationType::DependentTemplateSpe __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DependentTemplateSpecializationType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType(__arg0); } CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::DependentTemplateSpecializationType::GetArguments(unsigned int i) { - auto __ret = ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->getArguments(i); - auto ____ret = new ::CppSharp::CppParser::AST::TemplateArgument(__ret); - return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); + auto __ret = ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->getArguments(i); + auto ____ret = new struct ::CppSharp::CppParser::AST::TemplateArgument(__ret); + return (____ret == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)____ret, true); } void CppSharp::Parser::AST::DependentTemplateSpecializationType::AddArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; - ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->addArguments(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)s->NativePtr; + ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->addArguments(__arg0); } void CppSharp::Parser::AST::DependentTemplateSpecializationType::ClearArguments() { - ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->clearArguments(); + ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->clearArguments(); } -System::Collections::Generic::List^ CppSharp::Parser::AST::DependentTemplateSpecializationType::Arguments::get() +::System::Collections::Generic::List^ CppSharp::Parser::AST::DependentTemplateSpecializationType::Arguments::get() { - auto _tmp__Arguments = gcnew System::Collections::Generic::List(); - for(auto _element : ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->Arguments) + auto _tmp__Arguments = gcnew ::System::Collections::Generic::List(); + auto __list0 = ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->Arguments; + for(auto _element : __list0) { - auto ___element = new ::CppSharp::CppParser::AST::TemplateArgument(_element); - auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((::CppSharp::CppParser::AST::TemplateArgument*)___element, true); + auto ___element = new struct ::CppSharp::CppParser::AST::TemplateArgument(_element); + auto _marshalElement = (___element == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateArgument((struct ::CppSharp::CppParser::AST::TemplateArgument*)___element, true); _tmp__Arguments->Add(_marshalElement); } return _tmp__Arguments; } -void CppSharp::Parser::AST::DependentTemplateSpecializationType::Arguments::set(System::Collections::Generic::List^ value) +void CppSharp::Parser::AST::DependentTemplateSpecializationType::Arguments::set(::System::Collections::Generic::List^ value) { auto _tmpvalue = std::vector<::CppSharp::CppParser::AST::TemplateArgument>(); for each(CppSharp::Parser::AST::TemplateArgument^ _element in value) { if (ReferenceEquals(_element, nullptr)) throw gcnew ::System::ArgumentNullException("_element", "Cannot be null because it is passed by value."); - auto _marshalElement = *(::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; + auto _marshalElement = *(struct ::CppSharp::CppParser::AST::TemplateArgument*)_element->NativePtr; _tmpvalue.push_back(_marshalElement); } - ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->Arguments = _tmpvalue; + ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->Arguments = _tmpvalue; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DependentTemplateSpecializationType::Desugared::get() { - return (&((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared); + return (&((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared); } void CppSharp::Parser::AST::DependentTemplateSpecializationType::Desugared::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->desugared = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } unsigned int CppSharp::Parser::AST::DependentTemplateSpecializationType::ArgumentsCount::get() { - auto __ret = ((::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->getArgumentsCount(); + auto __ret = ((struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType*)NativePtr)->getArgumentsCount(); return __ret; } -CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(::CppSharp::CppParser::AST::TemplateParameterType* native) +CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(struct ::CppSharp::CppParser::AST::TemplateParameterType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::TemplateParameterType^ CppSharp::Parser::AST::TemplateParameterType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateParameterType((::CppSharp::CppParser::AST::TemplateParameterType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateParameterType((struct ::CppSharp::CppParser::AST::TemplateParameterType*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(::CppSharp::CppParser::AST::TemplateParameterType* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(struct ::CppSharp::CppParser::AST::TemplateParameterType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::TemplateParameterType^ CppSharp::Parser::AST::TemplateParameterType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateParameterType((::CppSharp::CppParser::AST::TemplateParameterType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateParameterType((struct ::CppSharp::CppParser::AST::TemplateParameterType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateParameterType::~TemplateParameterType() @@ -1167,7 +1170,7 @@ CppSharp::Parser::AST::TemplateParameterType::~TemplateParameterType() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::TemplateParameterType*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::TemplateParameterType*) __nativePtr; } } @@ -1175,7 +1178,7 @@ CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterType(); + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameterType(); } CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(CppSharp::Parser::AST::TemplateParameterType^ _0) @@ -1184,68 +1187,68 @@ CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateParameterType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateParameterType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameterType(__arg0); } CppSharp::Parser::AST::TypeTemplateParameter^ CppSharp::Parser::AST::TemplateParameterType::Parameter::get() { - return (((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((::CppSharp::CppParser::AST::TypeTemplateParameter*)((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter); + return (((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TypeTemplateParameter((struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter); } void CppSharp::Parser::AST::TemplateParameterType::Parameter::set(CppSharp::Parser::AST::TypeTemplateParameter^ value) { - ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter = (::CppSharp::CppParser::AST::TypeTemplateParameter*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->parameter = (struct ::CppSharp::CppParser::AST::TypeTemplateParameter*)value->NativePtr; } unsigned int CppSharp::Parser::AST::TemplateParameterType::Depth::get() { - return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->depth; + return ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->depth; } void CppSharp::Parser::AST::TemplateParameterType::Depth::set(unsigned int value) { - ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->depth = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->depth = value; } unsigned int CppSharp::Parser::AST::TemplateParameterType::Index::get() { - return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->index; + return ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->index; } void CppSharp::Parser::AST::TemplateParameterType::Index::set(unsigned int value) { - ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->index = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->index = value; } bool CppSharp::Parser::AST::TemplateParameterType::IsParameterPack::get() { - return ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->isParameterPack; + return ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->isParameterPack; } void CppSharp::Parser::AST::TemplateParameterType::IsParameterPack::set(bool value) { - ((::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->isParameterPack = value; + ((struct ::CppSharp::CppParser::AST::TemplateParameterType*)NativePtr)->isParameterPack = value; } -CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native) +CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::TemplateParameterSubstitutionType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::TemplateParameterSubstitutionType((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::TemplateParameterSubstitutionType((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*) native.ToPointer()); } -CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native, bool ownNativeInstance) +CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::TemplateParameterSubstitutionType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::TemplateParameterSubstitutionType((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::TemplateParameterSubstitutionType((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::TemplateParameterSubstitutionType::~TemplateParameterSubstitutionType() @@ -1256,7 +1259,7 @@ CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubst : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType(); + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType(); } CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubstitutionType(CppSharp::Parser::AST::TemplateParameterSubstitutionType^ _0) @@ -1265,50 +1268,50 @@ CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubst __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::Replacement::get() { - return (&((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement); + return (&((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement); } void CppSharp::Parser::AST::TemplateParameterSubstitutionType::Replacement::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacement = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::TemplateParameterType^ CppSharp::Parser::AST::TemplateParameterSubstitutionType::ReplacedParameter::get() { - return (((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateParameterType((::CppSharp::CppParser::AST::TemplateParameterType*)((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter); + return (((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::TemplateParameterType((struct ::CppSharp::CppParser::AST::TemplateParameterType*)((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter); } void CppSharp::Parser::AST::TemplateParameterSubstitutionType::ReplacedParameter::set(CppSharp::Parser::AST::TemplateParameterType^ value) { - ((::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter = (::CppSharp::CppParser::AST::TemplateParameterType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType*)NativePtr)->replacedParameter = (struct ::CppSharp::CppParser::AST::TemplateParameterType*)value->NativePtr; } -CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(::CppSharp::CppParser::AST::InjectedClassNameType* native) +CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(struct ::CppSharp::CppParser::AST::InjectedClassNameType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::InjectedClassNameType^ CppSharp::Parser::AST::InjectedClassNameType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::InjectedClassNameType((::CppSharp::CppParser::AST::InjectedClassNameType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::InjectedClassNameType((struct ::CppSharp::CppParser::AST::InjectedClassNameType*) native.ToPointer()); } -CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(::CppSharp::CppParser::AST::InjectedClassNameType* native, bool ownNativeInstance) +CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(struct ::CppSharp::CppParser::AST::InjectedClassNameType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::InjectedClassNameType^ CppSharp::Parser::AST::InjectedClassNameType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::InjectedClassNameType((::CppSharp::CppParser::AST::InjectedClassNameType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::InjectedClassNameType((struct ::CppSharp::CppParser::AST::InjectedClassNameType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::InjectedClassNameType::~InjectedClassNameType() @@ -1319,7 +1322,7 @@ CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::InjectedClassNameType(); + NativePtr = new struct ::CppSharp::CppParser::AST::InjectedClassNameType(); } CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(CppSharp::Parser::AST::InjectedClassNameType^ _0) @@ -1328,50 +1331,50 @@ CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(CppSharp::Pa __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::InjectedClassNameType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::InjectedClassNameType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::InjectedClassNameType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::InjectedClassNameType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::InjectedClassNameType::InjectedSpecializationType::get() { - return (&((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType); + return (&((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType); } void CppSharp::Parser::AST::InjectedClassNameType::InjectedSpecializationType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->injectedSpecializationType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::InjectedClassNameType::Class::get() { - return (((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((::CppSharp::CppParser::AST::Class*)((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class); + return (((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::Class((struct ::CppSharp::CppParser::AST::Class*)((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class); } void CppSharp::Parser::AST::InjectedClassNameType::Class::set(CppSharp::Parser::AST::Class^ value) { - ((::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class = (::CppSharp::CppParser::AST::Class*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::InjectedClassNameType*)NativePtr)->_class = (struct ::CppSharp::CppParser::AST::Class*)value->NativePtr; } -CppSharp::Parser::AST::DependentNameType::DependentNameType(::CppSharp::CppParser::AST::DependentNameType* native) +CppSharp::Parser::AST::DependentNameType::DependentNameType(struct ::CppSharp::CppParser::AST::DependentNameType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::DependentNameType^ CppSharp::Parser::AST::DependentNameType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::DependentNameType((::CppSharp::CppParser::AST::DependentNameType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::DependentNameType((struct ::CppSharp::CppParser::AST::DependentNameType*) native.ToPointer()); } -CppSharp::Parser::AST::DependentNameType::DependentNameType(::CppSharp::CppParser::AST::DependentNameType* native, bool ownNativeInstance) +CppSharp::Parser::AST::DependentNameType::DependentNameType(struct ::CppSharp::CppParser::AST::DependentNameType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::DependentNameType^ CppSharp::Parser::AST::DependentNameType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::DependentNameType((::CppSharp::CppParser::AST::DependentNameType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::DependentNameType((struct ::CppSharp::CppParser::AST::DependentNameType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::DependentNameType::~DependentNameType() @@ -1380,7 +1383,7 @@ CppSharp::Parser::AST::DependentNameType::~DependentNameType() { auto __nativePtr = NativePtr; NativePtr = 0; - delete (::CppSharp::CppParser::AST::DependentNameType*) __nativePtr; + delete (struct ::CppSharp::CppParser::AST::DependentNameType*) __nativePtr; } } @@ -1388,7 +1391,7 @@ CppSharp::Parser::AST::DependentNameType::DependentNameType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::DependentNameType(); + NativePtr = new struct ::CppSharp::CppParser::AST::DependentNameType(); } CppSharp::Parser::AST::DependentNameType::DependentNameType(CppSharp::Parser::AST::DependentNameType^ _0) @@ -1397,50 +1400,50 @@ CppSharp::Parser::AST::DependentNameType::DependentNameType(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::DependentNameType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::DependentNameType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::DependentNameType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::DependentNameType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::DependentNameType::Qualifier::get() { - return (&((::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier); + return (&((struct ::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier); } void CppSharp::Parser::AST::DependentNameType::Qualifier::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->qualifier = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -System::String^ CppSharp::Parser::AST::DependentNameType::Identifier::get() +::System::String^ CppSharp::Parser::AST::DependentNameType::Identifier::get() { - return clix::marshalString(((::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->identifier); + return clix::marshalString(((struct ::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->identifier); } -void CppSharp::Parser::AST::DependentNameType::Identifier::set(System::String^ value) +void CppSharp::Parser::AST::DependentNameType::Identifier::set(::System::String^ value) { - ((::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->identifier = clix::marshalString(value); + ((struct ::CppSharp::CppParser::AST::DependentNameType*)NativePtr)->identifier = clix::marshalString(value); } -CppSharp::Parser::AST::PackExpansionType::PackExpansionType(::CppSharp::CppParser::AST::PackExpansionType* native) +CppSharp::Parser::AST::PackExpansionType::PackExpansionType(struct ::CppSharp::CppParser::AST::PackExpansionType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::PackExpansionType^ CppSharp::Parser::AST::PackExpansionType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::PackExpansionType((::CppSharp::CppParser::AST::PackExpansionType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::PackExpansionType((struct ::CppSharp::CppParser::AST::PackExpansionType*) native.ToPointer()); } -CppSharp::Parser::AST::PackExpansionType::PackExpansionType(::CppSharp::CppParser::AST::PackExpansionType* native, bool ownNativeInstance) +CppSharp::Parser::AST::PackExpansionType::PackExpansionType(struct ::CppSharp::CppParser::AST::PackExpansionType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::PackExpansionType^ CppSharp::Parser::AST::PackExpansionType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::PackExpansionType((::CppSharp::CppParser::AST::PackExpansionType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::PackExpansionType((struct ::CppSharp::CppParser::AST::PackExpansionType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::PackExpansionType::~PackExpansionType() @@ -1451,7 +1454,7 @@ CppSharp::Parser::AST::PackExpansionType::PackExpansionType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::PackExpansionType(); + NativePtr = new struct ::CppSharp::CppParser::AST::PackExpansionType(); } CppSharp::Parser::AST::PackExpansionType::PackExpansionType(CppSharp::Parser::AST::PackExpansionType^ _0) @@ -1460,28 +1463,28 @@ CppSharp::Parser::AST::PackExpansionType::PackExpansionType(CppSharp::Parser::AS __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::PackExpansionType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::PackExpansionType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::PackExpansionType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::PackExpansionType(__arg0); } -CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(::CppSharp::CppParser::AST::UnaryTransformType* native) +CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(struct ::CppSharp::CppParser::AST::UnaryTransformType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::UnaryTransformType^ CppSharp::Parser::AST::UnaryTransformType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnaryTransformType((::CppSharp::CppParser::AST::UnaryTransformType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnaryTransformType((struct ::CppSharp::CppParser::AST::UnaryTransformType*) native.ToPointer()); } -CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(::CppSharp::CppParser::AST::UnaryTransformType* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(struct ::CppSharp::CppParser::AST::UnaryTransformType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnaryTransformType^ CppSharp::Parser::AST::UnaryTransformType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnaryTransformType((::CppSharp::CppParser::AST::UnaryTransformType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnaryTransformType((struct ::CppSharp::CppParser::AST::UnaryTransformType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnaryTransformType::~UnaryTransformType() @@ -1492,7 +1495,7 @@ CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnaryTransformType(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryTransformType(); } CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(CppSharp::Parser::AST::UnaryTransformType^ _0) @@ -1501,52 +1504,52 @@ CppSharp::Parser::AST::UnaryTransformType::UnaryTransformType(CppSharp::Parser:: __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnaryTransformType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnaryTransformType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnaryTransformType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnaryTransformType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::UnaryTransformType::Desugared::get() { - return (&((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared); + return (&((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared); } void CppSharp::Parser::AST::UnaryTransformType::Desugared::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->desugared = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::UnaryTransformType::BaseType::get() { - return (&((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType); + return (&((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType); } void CppSharp::Parser::AST::UnaryTransformType::BaseType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnaryTransformType*)NativePtr)->baseType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } -CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(::CppSharp::CppParser::AST::UnresolvedUsingType* native) +CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(struct ::CppSharp::CppParser::AST::UnresolvedUsingType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::UnresolvedUsingType^ CppSharp::Parser::AST::UnresolvedUsingType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::UnresolvedUsingType((::CppSharp::CppParser::AST::UnresolvedUsingType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::UnresolvedUsingType((struct ::CppSharp::CppParser::AST::UnresolvedUsingType*) native.ToPointer()); } -CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(::CppSharp::CppParser::AST::UnresolvedUsingType* native, bool ownNativeInstance) +CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(struct ::CppSharp::CppParser::AST::UnresolvedUsingType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::UnresolvedUsingType^ CppSharp::Parser::AST::UnresolvedUsingType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::UnresolvedUsingType((::CppSharp::CppParser::AST::UnresolvedUsingType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::UnresolvedUsingType((struct ::CppSharp::CppParser::AST::UnresolvedUsingType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::UnresolvedUsingType::~UnresolvedUsingType() @@ -1557,7 +1560,7 @@ CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedUsingType(); + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedUsingType(); } CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(CppSharp::Parser::AST::UnresolvedUsingType^ _0) @@ -1566,38 +1569,38 @@ CppSharp::Parser::AST::UnresolvedUsingType::UnresolvedUsingType(CppSharp::Parser __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::UnresolvedUsingType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::UnresolvedUsingType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::UnresolvedUsingType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::UnresolvedUsingType(__arg0); } CppSharp::Parser::AST::UnresolvedUsingTypename^ CppSharp::Parser::AST::UnresolvedUsingType::Declaration::get() { - return (((::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((::CppSharp::CppParser::AST::UnresolvedUsingTypename*)((::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration); + return (((struct ::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::UnresolvedUsingTypename((struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*)((struct ::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration); } void CppSharp::Parser::AST::UnresolvedUsingType::Declaration::set(CppSharp::Parser::AST::UnresolvedUsingTypename^ value) { - ((::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration = (::CppSharp::CppParser::AST::UnresolvedUsingTypename*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::UnresolvedUsingType*)NativePtr)->declaration = (struct ::CppSharp::CppParser::AST::UnresolvedUsingTypename*)value->NativePtr; } -CppSharp::Parser::AST::VectorType::VectorType(::CppSharp::CppParser::AST::VectorType* native) +CppSharp::Parser::AST::VectorType::VectorType(struct ::CppSharp::CppParser::AST::VectorType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::VectorType^ CppSharp::Parser::AST::VectorType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::VectorType((::CppSharp::CppParser::AST::VectorType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::VectorType((struct ::CppSharp::CppParser::AST::VectorType*) native.ToPointer()); } -CppSharp::Parser::AST::VectorType::VectorType(::CppSharp::CppParser::AST::VectorType* native, bool ownNativeInstance) +CppSharp::Parser::AST::VectorType::VectorType(struct ::CppSharp::CppParser::AST::VectorType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::VectorType^ CppSharp::Parser::AST::VectorType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::VectorType((::CppSharp::CppParser::AST::VectorType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::VectorType((struct ::CppSharp::CppParser::AST::VectorType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::VectorType::~VectorType() @@ -1608,7 +1611,7 @@ CppSharp::Parser::AST::VectorType::VectorType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::VectorType(); + NativePtr = new struct ::CppSharp::CppParser::AST::VectorType(); } CppSharp::Parser::AST::VectorType::VectorType(CppSharp::Parser::AST::VectorType^ _0) @@ -1617,50 +1620,50 @@ CppSharp::Parser::AST::VectorType::VectorType(CppSharp::Parser::AST::VectorType^ __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::VectorType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::VectorType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::VectorType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::VectorType(__arg0); } CppSharp::Parser::AST::QualifiedType^ CppSharp::Parser::AST::VectorType::ElementType::get() { - return (&((::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((::CppSharp::CppParser::AST::QualifiedType*)&((::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType); + return (&((struct ::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType == nullptr) ? nullptr : gcnew ::CppSharp::Parser::AST::QualifiedType((struct ::CppSharp::CppParser::AST::QualifiedType*)&((struct ::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType); } void CppSharp::Parser::AST::VectorType::ElementType::set(CppSharp::Parser::AST::QualifiedType^ value) { if (ReferenceEquals(value, nullptr)) throw gcnew ::System::ArgumentNullException("value", "Cannot be null because it is passed by value."); - ((::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType = *(::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; + ((struct ::CppSharp::CppParser::AST::VectorType*)NativePtr)->elementType = *(struct ::CppSharp::CppParser::AST::QualifiedType*)value->NativePtr; } unsigned int CppSharp::Parser::AST::VectorType::NumElements::get() { - return ((::CppSharp::CppParser::AST::VectorType*)NativePtr)->numElements; + return ((struct ::CppSharp::CppParser::AST::VectorType*)NativePtr)->numElements; } void CppSharp::Parser::AST::VectorType::NumElements::set(unsigned int value) { - ((::CppSharp::CppParser::AST::VectorType*)NativePtr)->numElements = value; + ((struct ::CppSharp::CppParser::AST::VectorType*)NativePtr)->numElements = value; } -CppSharp::Parser::AST::BuiltinType::BuiltinType(::CppSharp::CppParser::AST::BuiltinType* native) +CppSharp::Parser::AST::BuiltinType::BuiltinType(struct ::CppSharp::CppParser::AST::BuiltinType* native) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native) { } CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::BuiltinType::__CreateInstance(::System::IntPtr native) { - return gcnew ::CppSharp::Parser::AST::BuiltinType((::CppSharp::CppParser::AST::BuiltinType*) native.ToPointer()); + return gcnew ::CppSharp::Parser::AST::BuiltinType((struct ::CppSharp::CppParser::AST::BuiltinType*) native.ToPointer()); } -CppSharp::Parser::AST::BuiltinType::BuiltinType(::CppSharp::CppParser::AST::BuiltinType* native, bool ownNativeInstance) +CppSharp::Parser::AST::BuiltinType::BuiltinType(struct ::CppSharp::CppParser::AST::BuiltinType* native, bool ownNativeInstance) : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)native, ownNativeInstance) { } CppSharp::Parser::AST::BuiltinType^ CppSharp::Parser::AST::BuiltinType::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance) { - return gcnew ::CppSharp::Parser::AST::BuiltinType((::CppSharp::CppParser::AST::BuiltinType*) native.ToPointer(), __ownsNativeInstance); + return gcnew ::CppSharp::Parser::AST::BuiltinType((struct ::CppSharp::CppParser::AST::BuiltinType*) native.ToPointer(), __ownsNativeInstance); } CppSharp::Parser::AST::BuiltinType::~BuiltinType() @@ -1671,7 +1674,7 @@ CppSharp::Parser::AST::BuiltinType::BuiltinType() : CppSharp::Parser::AST::Type((::CppSharp::CppParser::AST::Type*)nullptr) { __ownsNativeInstance = true; - NativePtr = new ::CppSharp::CppParser::AST::BuiltinType(); + NativePtr = new struct ::CppSharp::CppParser::AST::BuiltinType(); } CppSharp::Parser::AST::BuiltinType::BuiltinType(CppSharp::Parser::AST::BuiltinType^ _0) @@ -1680,17 +1683,17 @@ CppSharp::Parser::AST::BuiltinType::BuiltinType(CppSharp::Parser::AST::BuiltinTy __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); - auto &__arg0 = *(::CppSharp::CppParser::AST::BuiltinType*)_0->NativePtr; - NativePtr = new ::CppSharp::CppParser::AST::BuiltinType(__arg0); + auto &__arg0 = *(struct ::CppSharp::CppParser::AST::BuiltinType*)_0->NativePtr; + NativePtr = new struct ::CppSharp::CppParser::AST::BuiltinType(__arg0); } CppSharp::Parser::AST::PrimitiveType CppSharp::Parser::AST::BuiltinType::Type::get() { - return (CppSharp::Parser::AST::PrimitiveType)((::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->type; + return (CppSharp::Parser::AST::PrimitiveType)((struct ::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->type; } void CppSharp::Parser::AST::BuiltinType::Type::set(CppSharp::Parser::AST::PrimitiveType value) { - ((::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->type = (::CppSharp::CppParser::AST::PrimitiveType)value; + ((struct ::CppSharp::CppParser::AST::BuiltinType*)NativePtr)->type = (enum ::CppSharp::CppParser::AST::PrimitiveType)value; } diff --git a/src/CppParser/Bindings/CLI/Types.h b/src/CppParser/Bindings/CLI/Types.h index 81ed7398..ab35f43f 100644 --- a/src/CppParser/Bindings/CLI/Types.h +++ b/src/CppParser/Bindings/CLI/Types.h @@ -140,15 +140,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::Type* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::Type* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - Type(::CppSharp::CppParser::AST::Type* native); - Type(::CppSharp::CppParser::AST::Type* native, bool ownNativeInstance); + Type(struct ::CppSharp::CppParser::AST::Type* native); + Type(struct ::CppSharp::CppParser::AST::Type* native, bool ownNativeInstance); static Type^ __CreateInstance(::System::IntPtr native); static Type^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); Type(CppSharp::Parser::AST::TypeKind kind); @@ -180,15 +180,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::TypeQualifiers* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::TypeQualifiers* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - TypeQualifiers(::CppSharp::CppParser::AST::TypeQualifiers* native); - TypeQualifiers(::CppSharp::CppParser::AST::TypeQualifiers* native, bool ownNativeInstance); + TypeQualifiers(struct ::CppSharp::CppParser::AST::TypeQualifiers* native); + TypeQualifiers(struct ::CppSharp::CppParser::AST::TypeQualifiers* native, bool ownNativeInstance); static TypeQualifiers^ __CreateInstance(::System::IntPtr native); static TypeQualifiers^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypeQualifiers(CppSharp::Parser::AST::TypeQualifiers^ _0); @@ -224,15 +224,15 @@ namespace CppSharp { public: - property ::CppSharp::CppParser::AST::QualifiedType* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::QualifiedType* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - QualifiedType(::CppSharp::CppParser::AST::QualifiedType* native); - QualifiedType(::CppSharp::CppParser::AST::QualifiedType* native, bool ownNativeInstance); + QualifiedType(struct ::CppSharp::CppParser::AST::QualifiedType* native); + QualifiedType(struct ::CppSharp::CppParser::AST::QualifiedType* native, bool ownNativeInstance); static QualifiedType^ __CreateInstance(::System::IntPtr native); static QualifiedType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); QualifiedType(); @@ -262,8 +262,8 @@ namespace CppSharp { public: - TagType(::CppSharp::CppParser::AST::TagType* native); - TagType(::CppSharp::CppParser::AST::TagType* native, bool ownNativeInstance); + TagType(struct ::CppSharp::CppParser::AST::TagType* native); + TagType(struct ::CppSharp::CppParser::AST::TagType* native, bool ownNativeInstance); static TagType^ __CreateInstance(::System::IntPtr native); static TagType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TagType(); @@ -291,8 +291,8 @@ namespace CppSharp Incomplete = 3 }; - ArrayType(::CppSharp::CppParser::AST::ArrayType* native); - ArrayType(::CppSharp::CppParser::AST::ArrayType* native, bool ownNativeInstance); + ArrayType(struct ::CppSharp::CppParser::AST::ArrayType* native); + ArrayType(struct ::CppSharp::CppParser::AST::ArrayType* native, bool ownNativeInstance); static ArrayType^ __CreateInstance(::System::IntPtr native); static ArrayType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); ArrayType(); @@ -330,8 +330,8 @@ namespace CppSharp { public: - FunctionType(::CppSharp::CppParser::AST::FunctionType* native); - FunctionType(::CppSharp::CppParser::AST::FunctionType* native, bool ownNativeInstance); + FunctionType(struct ::CppSharp::CppParser::AST::FunctionType* native); + FunctionType(struct ::CppSharp::CppParser::AST::FunctionType* native, bool ownNativeInstance); static FunctionType^ __CreateInstance(::System::IntPtr native); static FunctionType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); FunctionType(); @@ -358,10 +358,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::ExceptionSpecType); } - property System::Collections::Generic::List^ Parameters + property ::System::Collections::Generic::List^ Parameters { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property unsigned int ParametersCount @@ -388,8 +388,8 @@ namespace CppSharp RVReference = 3 }; - PointerType(::CppSharp::CppParser::AST::PointerType* native); - PointerType(::CppSharp::CppParser::AST::PointerType* native, bool ownNativeInstance); + PointerType(struct ::CppSharp::CppParser::AST::PointerType* native); + PointerType(struct ::CppSharp::CppParser::AST::PointerType* native, bool ownNativeInstance); static PointerType^ __CreateInstance(::System::IntPtr native); static PointerType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PointerType(); @@ -415,8 +415,8 @@ namespace CppSharp { public: - MemberPointerType(::CppSharp::CppParser::AST::MemberPointerType* native); - MemberPointerType(::CppSharp::CppParser::AST::MemberPointerType* native, bool ownNativeInstance); + MemberPointerType(struct ::CppSharp::CppParser::AST::MemberPointerType* native); + MemberPointerType(struct ::CppSharp::CppParser::AST::MemberPointerType* native, bool ownNativeInstance); static MemberPointerType^ __CreateInstance(::System::IntPtr native); static MemberPointerType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); MemberPointerType(); @@ -436,8 +436,8 @@ namespace CppSharp { public: - TypedefType(::CppSharp::CppParser::AST::TypedefType* native); - TypedefType(::CppSharp::CppParser::AST::TypedefType* native, bool ownNativeInstance); + TypedefType(struct ::CppSharp::CppParser::AST::TypedefType* native); + TypedefType(struct ::CppSharp::CppParser::AST::TypedefType* native, bool ownNativeInstance); static TypedefType^ __CreateInstance(::System::IntPtr native); static TypedefType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TypedefType(); @@ -457,8 +457,8 @@ namespace CppSharp { public: - AttributedType(::CppSharp::CppParser::AST::AttributedType* native); - AttributedType(::CppSharp::CppParser::AST::AttributedType* native, bool ownNativeInstance); + AttributedType(struct ::CppSharp::CppParser::AST::AttributedType* native); + AttributedType(struct ::CppSharp::CppParser::AST::AttributedType* native, bool ownNativeInstance); static AttributedType^ __CreateInstance(::System::IntPtr native); static AttributedType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); AttributedType(); @@ -484,8 +484,8 @@ namespace CppSharp { public: - DecayedType(::CppSharp::CppParser::AST::DecayedType* native); - DecayedType(::CppSharp::CppParser::AST::DecayedType* native, bool ownNativeInstance); + DecayedType(struct ::CppSharp::CppParser::AST::DecayedType* native); + DecayedType(struct ::CppSharp::CppParser::AST::DecayedType* native, bool ownNativeInstance); static DecayedType^ __CreateInstance(::System::IntPtr native); static DecayedType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DecayedType(); @@ -529,15 +529,15 @@ namespace CppSharp Pack = 7 }; - property ::CppSharp::CppParser::AST::TemplateArgument* NativePtr; - property System::IntPtr __Instance + property struct ::CppSharp::CppParser::AST::TemplateArgument* NativePtr; + property ::System::IntPtr __Instance { - virtual System::IntPtr get(); - virtual void set(System::IntPtr instance); + virtual ::System::IntPtr get(); + virtual void set(::System::IntPtr instance); } - TemplateArgument(::CppSharp::CppParser::AST::TemplateArgument* native); - TemplateArgument(::CppSharp::CppParser::AST::TemplateArgument* native, bool ownNativeInstance); + TemplateArgument(struct ::CppSharp::CppParser::AST::TemplateArgument* native); + TemplateArgument(struct ::CppSharp::CppParser::AST::TemplateArgument* native, bool ownNativeInstance); static TemplateArgument^ __CreateInstance(::System::IntPtr native); static TemplateArgument^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateArgument(); @@ -579,8 +579,8 @@ namespace CppSharp { public: - TemplateSpecializationType(::CppSharp::CppParser::AST::TemplateSpecializationType* native); - TemplateSpecializationType(::CppSharp::CppParser::AST::TemplateSpecializationType* native, bool ownNativeInstance); + TemplateSpecializationType(struct ::CppSharp::CppParser::AST::TemplateSpecializationType* native); + TemplateSpecializationType(struct ::CppSharp::CppParser::AST::TemplateSpecializationType* native, bool ownNativeInstance); static TemplateSpecializationType^ __CreateInstance(::System::IntPtr native); static TemplateSpecializationType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateSpecializationType(); @@ -589,10 +589,10 @@ namespace CppSharp ~TemplateSpecializationType(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::Template^ Template @@ -623,8 +623,8 @@ namespace CppSharp { public: - DependentTemplateSpecializationType(::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native); - DependentTemplateSpecializationType(::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native, bool ownNativeInstance); + DependentTemplateSpecializationType(struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native); + DependentTemplateSpecializationType(struct ::CppSharp::CppParser::AST::DependentTemplateSpecializationType* native, bool ownNativeInstance); static DependentTemplateSpecializationType^ __CreateInstance(::System::IntPtr native); static DependentTemplateSpecializationType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DependentTemplateSpecializationType(); @@ -633,10 +633,10 @@ namespace CppSharp ~DependentTemplateSpecializationType(); - property System::Collections::Generic::List^ Arguments + property ::System::Collections::Generic::List^ Arguments { - System::Collections::Generic::List^ get(); - void set(System::Collections::Generic::List^); + ::System::Collections::Generic::List^ get(); + void set(::System::Collections::Generic::List^); } property CppSharp::Parser::AST::QualifiedType^ Desugared @@ -661,8 +661,8 @@ namespace CppSharp { public: - TemplateParameterType(::CppSharp::CppParser::AST::TemplateParameterType* native); - TemplateParameterType(::CppSharp::CppParser::AST::TemplateParameterType* native, bool ownNativeInstance); + TemplateParameterType(struct ::CppSharp::CppParser::AST::TemplateParameterType* native); + TemplateParameterType(struct ::CppSharp::CppParser::AST::TemplateParameterType* native, bool ownNativeInstance); static TemplateParameterType^ __CreateInstance(::System::IntPtr native); static TemplateParameterType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateParameterType(); @@ -700,8 +700,8 @@ namespace CppSharp { public: - TemplateParameterSubstitutionType(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native); - TemplateParameterSubstitutionType(::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native, bool ownNativeInstance); + TemplateParameterSubstitutionType(struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native); + TemplateParameterSubstitutionType(struct ::CppSharp::CppParser::AST::TemplateParameterSubstitutionType* native, bool ownNativeInstance); static TemplateParameterSubstitutionType^ __CreateInstance(::System::IntPtr native); static TemplateParameterSubstitutionType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); TemplateParameterSubstitutionType(); @@ -727,8 +727,8 @@ namespace CppSharp { public: - InjectedClassNameType(::CppSharp::CppParser::AST::InjectedClassNameType* native); - InjectedClassNameType(::CppSharp::CppParser::AST::InjectedClassNameType* native, bool ownNativeInstance); + InjectedClassNameType(struct ::CppSharp::CppParser::AST::InjectedClassNameType* native); + InjectedClassNameType(struct ::CppSharp::CppParser::AST::InjectedClassNameType* native, bool ownNativeInstance); static InjectedClassNameType^ __CreateInstance(::System::IntPtr native); static InjectedClassNameType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); InjectedClassNameType(); @@ -754,8 +754,8 @@ namespace CppSharp { public: - DependentNameType(::CppSharp::CppParser::AST::DependentNameType* native); - DependentNameType(::CppSharp::CppParser::AST::DependentNameType* native, bool ownNativeInstance); + DependentNameType(struct ::CppSharp::CppParser::AST::DependentNameType* native); + DependentNameType(struct ::CppSharp::CppParser::AST::DependentNameType* native, bool ownNativeInstance); static DependentNameType^ __CreateInstance(::System::IntPtr native); static DependentNameType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); DependentNameType(); @@ -770,10 +770,10 @@ namespace CppSharp void set(CppSharp::Parser::AST::QualifiedType^); } - property System::String^ Identifier + property ::System::String^ Identifier { - System::String^ get(); - void set(System::String^); + ::System::String^ get(); + void set(::System::String^); } }; @@ -781,8 +781,8 @@ namespace CppSharp { public: - PackExpansionType(::CppSharp::CppParser::AST::PackExpansionType* native); - PackExpansionType(::CppSharp::CppParser::AST::PackExpansionType* native, bool ownNativeInstance); + PackExpansionType(struct ::CppSharp::CppParser::AST::PackExpansionType* native); + PackExpansionType(struct ::CppSharp::CppParser::AST::PackExpansionType* native, bool ownNativeInstance); static PackExpansionType^ __CreateInstance(::System::IntPtr native); static PackExpansionType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); PackExpansionType(); @@ -796,8 +796,8 @@ namespace CppSharp { public: - UnaryTransformType(::CppSharp::CppParser::AST::UnaryTransformType* native); - UnaryTransformType(::CppSharp::CppParser::AST::UnaryTransformType* native, bool ownNativeInstance); + UnaryTransformType(struct ::CppSharp::CppParser::AST::UnaryTransformType* native); + UnaryTransformType(struct ::CppSharp::CppParser::AST::UnaryTransformType* native, bool ownNativeInstance); static UnaryTransformType^ __CreateInstance(::System::IntPtr native); static UnaryTransformType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnaryTransformType(); @@ -823,8 +823,8 @@ namespace CppSharp { public: - UnresolvedUsingType(::CppSharp::CppParser::AST::UnresolvedUsingType* native); - UnresolvedUsingType(::CppSharp::CppParser::AST::UnresolvedUsingType* native, bool ownNativeInstance); + UnresolvedUsingType(struct ::CppSharp::CppParser::AST::UnresolvedUsingType* native); + UnresolvedUsingType(struct ::CppSharp::CppParser::AST::UnresolvedUsingType* native, bool ownNativeInstance); static UnresolvedUsingType^ __CreateInstance(::System::IntPtr native); static UnresolvedUsingType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); UnresolvedUsingType(); @@ -844,8 +844,8 @@ namespace CppSharp { public: - VectorType(::CppSharp::CppParser::AST::VectorType* native); - VectorType(::CppSharp::CppParser::AST::VectorType* native, bool ownNativeInstance); + VectorType(struct ::CppSharp::CppParser::AST::VectorType* native); + VectorType(struct ::CppSharp::CppParser::AST::VectorType* native, bool ownNativeInstance); static VectorType^ __CreateInstance(::System::IntPtr native); static VectorType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); VectorType(); @@ -871,8 +871,8 @@ namespace CppSharp { public: - BuiltinType(::CppSharp::CppParser::AST::BuiltinType* native); - BuiltinType(::CppSharp::CppParser::AST::BuiltinType* native, bool ownNativeInstance); + BuiltinType(struct ::CppSharp::CppParser::AST::BuiltinType* native); + BuiltinType(struct ::CppSharp::CppParser::AST::BuiltinType* native, bool ownNativeInstance); static BuiltinType^ __CreateInstance(::System::IntPtr native); static BuiltinType^ __CreateInstance(::System::IntPtr native, bool __ownsNativeInstance); BuiltinType(); diff --git a/src/Generator/Types/Std/Stdlib.CLI.cs b/src/Generator/Types/Std/Stdlib.CLI.cs index e7356a9e..c68981b2 100644 --- a/src/Generator/Types/Std/Stdlib.CLI.cs +++ b/src/Generator/Types/Std/Stdlib.CLI.cs @@ -224,9 +224,10 @@ namespace CppSharp.Types.Std "auto {0} = gcnew ::System::Collections::Generic::List<{1}>();", tmpVarName, managedType); - string retVarName = ctx.ReturnType.Type.Desugar().IsPointer() ? $"*{ctx.ReturnVarName}" : ctx.ReturnVarName; - ctx.Before.WriteLine("for(auto _element : {0})", - retVarName); + string retVarName = "__list" + ctx.ParameterIndex; + ctx.Before.WriteLine($@"auto {retVarName} = {( + ctx.ReturnType.Type.Desugar().IsPointer() ? $"*{ctx.ReturnVarName}" : ctx.ReturnVarName)};"); + ctx.Before.WriteLine($"for(auto _element : {retVarName})"); ctx.Before.WriteOpenBraceAndIndent(); { var elementCtx = new MarshalContext(ctx.Context, ctx.Indentation)