diff --git a/src/CppParser/Bindings/CLI/AST.cpp b/src/CppParser/Bindings/CLI/AST.cpp index ab89b140..2bb277a4 100644 --- a/src/CppParser/Bindings/CLI/AST.cpp +++ b/src/CppParser/Bindings/CLI/AST.cpp @@ -30,7 +30,7 @@ CppSharp::Parser::AST::Type::Type(CppSharp::Parser::AST::Type^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -85,7 +85,7 @@ CppSharp::Parser::AST::TypeQualifiers::TypeQualifiers(CppSharp::Parser::AST::Typ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -162,7 +162,7 @@ CppSharp::Parser::AST::QualifiedType::QualifiedType(CppSharp::Parser::AST::Quali { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -223,7 +223,7 @@ CppSharp::Parser::AST::TagType::TagType(CppSharp::Parser::AST::TagType^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -264,7 +264,7 @@ CppSharp::Parser::AST::ArrayType::ArrayType(CppSharp::Parser::AST::ArrayType^ _0 { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -346,7 +346,7 @@ CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::FunctionType::getParame void CppSharp::Parser::AST::FunctionType::addParameters(CppSharp::Parser::AST::Parameter^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -361,7 +361,7 @@ CppSharp::Parser::AST::FunctionType::FunctionType(CppSharp::Parser::AST::Functio { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -418,7 +418,7 @@ CppSharp::Parser::AST::PointerType::PointerType(CppSharp::Parser::AST::PointerTy { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -469,7 +469,7 @@ CppSharp::Parser::AST::MemberPointerType::MemberPointerType(CppSharp::Parser::AS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -510,7 +510,7 @@ CppSharp::Parser::AST::TypedefType::TypedefType(CppSharp::Parser::AST::TypedefTy { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -551,7 +551,7 @@ CppSharp::Parser::AST::AttributedType::AttributedType(CppSharp::Parser::AST::Att { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -602,7 +602,7 @@ CppSharp::Parser::AST::DecayedType::DecayedType(CppSharp::Parser::AST::DecayedTy { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -663,7 +663,7 @@ CppSharp::Parser::AST::TemplateArgument::TemplateArgument(CppSharp::Parser::AST: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -750,7 +750,7 @@ CppSharp::Parser::AST::TemplateSpecializationType::TemplateSpecializationType(Cp { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -765,7 +765,7 @@ CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::TemplateSpeciali void CppSharp::Parser::AST::TemplateSpecializationType::addArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -827,7 +827,7 @@ CppSharp::Parser::AST::TemplateParameter::TemplateParameter(CppSharp::Parser::AS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -915,7 +915,7 @@ CppSharp::Parser::AST::TemplateParameterType::TemplateParameterType(CppSharp::Pa { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -986,7 +986,7 @@ CppSharp::Parser::AST::TemplateParameterSubstitutionType::TemplateParameterSubst { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1027,7 +1027,7 @@ CppSharp::Parser::AST::InjectedClassNameType::InjectedClassNameType(CppSharp::Pa { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1078,7 +1078,7 @@ CppSharp::Parser::AST::DependentNameType::DependentNameType(CppSharp::Parser::AS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1109,7 +1109,7 @@ CppSharp::Parser::AST::PackExpansionType::PackExpansionType(CppSharp::Parser::AS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1140,7 +1140,7 @@ CppSharp::Parser::AST::BuiltinType::BuiltinType(CppSharp::Parser::AST::BuiltinTy { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1181,7 +1181,7 @@ CppSharp::Parser::AST::VTableComponent::VTableComponent(CppSharp::Parser::AST::V { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1252,7 +1252,7 @@ CppSharp::Parser::AST::VTableLayout::VTableLayout(CppSharp::Parser::AST::VTableL { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1267,7 +1267,7 @@ CppSharp::Parser::AST::VTableComponent^ CppSharp::Parser::AST::VTableLayout::get void CppSharp::Parser::AST::VTableLayout::addComponents(CppSharp::Parser::AST::VTableComponent^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1319,7 +1319,7 @@ CppSharp::Parser::AST::VFTableInfo::VFTableInfo(CppSharp::Parser::AST::VFTableIn { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1406,7 +1406,7 @@ CppSharp::Parser::AST::VFTableInfo^ CppSharp::Parser::AST::ClassLayout::getVFTab void CppSharp::Parser::AST::ClassLayout::addVFTables(CppSharp::Parser::AST::VFTableInfo^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1420,7 +1420,7 @@ CppSharp::Parser::AST::ClassLayout::ClassLayout(CppSharp::Parser::AST::ClassLayo { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1538,7 +1538,7 @@ CppSharp::Parser::AST::Declaration::Declaration(CppSharp::Parser::AST::Declarati { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -1553,7 +1553,7 @@ CppSharp::Parser::AST::PreprocessedEntity^ CppSharp::Parser::AST::Declaration::g void CppSharp::Parser::AST::Declaration::addPreprocessedEntities(CppSharp::Parser::AST::PreprocessedEntity^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1777,7 +1777,7 @@ CppSharp::Parser::AST::Namespace^ CppSharp::Parser::AST::DeclarationContext::get void CppSharp::Parser::AST::DeclarationContext::addNamespaces(CppSharp::Parser::AST::Namespace^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1797,7 +1797,7 @@ CppSharp::Parser::AST::Enumeration^ CppSharp::Parser::AST::DeclarationContext::g void CppSharp::Parser::AST::DeclarationContext::addEnums(CppSharp::Parser::AST::Enumeration^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1817,7 +1817,7 @@ CppSharp::Parser::AST::Function^ CppSharp::Parser::AST::DeclarationContext::getF void CppSharp::Parser::AST::DeclarationContext::addFunctions(CppSharp::Parser::AST::Function^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1837,7 +1837,7 @@ CppSharp::Parser::AST::Class^ CppSharp::Parser::AST::DeclarationContext::getClas void CppSharp::Parser::AST::DeclarationContext::addClasses(CppSharp::Parser::AST::Class^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1857,7 +1857,7 @@ CppSharp::Parser::AST::Template^ CppSharp::Parser::AST::DeclarationContext::getT void CppSharp::Parser::AST::DeclarationContext::addTemplates(CppSharp::Parser::AST::Template^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1877,7 +1877,7 @@ CppSharp::Parser::AST::TypedefDecl^ CppSharp::Parser::AST::DeclarationContext::g void CppSharp::Parser::AST::DeclarationContext::addTypedefs(CppSharp::Parser::AST::TypedefDecl^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1897,7 +1897,7 @@ CppSharp::Parser::AST::Variable^ CppSharp::Parser::AST::DeclarationContext::getV void CppSharp::Parser::AST::DeclarationContext::addVariables(CppSharp::Parser::AST::Variable^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1917,7 +1917,7 @@ CppSharp::Parser::AST::Friend^ CppSharp::Parser::AST::DeclarationContext::getFri void CppSharp::Parser::AST::DeclarationContext::addFriends(CppSharp::Parser::AST::Friend^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -1932,7 +1932,7 @@ CppSharp::Parser::AST::DeclarationContext::DeclarationContext(CppSharp::Parser:: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2027,7 +2027,7 @@ CppSharp::Parser::AST::TypedefDecl::TypedefDecl(CppSharp::Parser::AST::TypedefDe { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2074,7 +2074,7 @@ CppSharp::Parser::AST::Friend::Friend(CppSharp::Parser::AST::Friend^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2109,7 +2109,7 @@ CppSharp::Parser::AST::Statement::Statement(CppSharp::Parser::AST::Statement^ _0 { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); auto &arg0 = *(::CppSharp::CppParser::AST::Statement*)_0->NativePtr; NativePtr = new ::CppSharp::CppParser::AST::Statement(arg0); } @@ -2183,7 +2183,7 @@ CppSharp::Parser::AST::Expression::Expression(CppSharp::Parser::AST::Expression^ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); auto &arg0 = *(::CppSharp::CppParser::AST::Expression*)_0->NativePtr; NativePtr = new ::CppSharp::CppParser::AST::Expression(arg0); } @@ -2213,7 +2213,7 @@ CppSharp::Parser::AST::BinaryOperator::BinaryOperator(CppSharp::Parser::AST::Bin { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2282,7 +2282,7 @@ CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::CallExpr::getArguments void CppSharp::Parser::AST::CallExpr::addArguments(CppSharp::Parser::AST::Expression^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); auto arg0 = (::CppSharp::CppParser::AST::Expression*)s->NativePtr; ((::CppSharp::CppParser::AST::CallExpr*)NativePtr)->addArguments(arg0); } @@ -2297,7 +2297,7 @@ CppSharp::Parser::AST::CallExpr::CallExpr(CppSharp::Parser::AST::CallExpr^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2338,7 +2338,7 @@ CppSharp::Parser::AST::Expression^ CppSharp::Parser::AST::CXXConstructExpr::getA void CppSharp::Parser::AST::CXXConstructExpr::addArguments(CppSharp::Parser::AST::Expression^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); auto arg0 = (::CppSharp::CppParser::AST::Expression*)s->NativePtr; ((::CppSharp::CppParser::AST::CXXConstructExpr*)NativePtr)->addArguments(arg0); } @@ -2353,7 +2353,7 @@ CppSharp::Parser::AST::CXXConstructExpr::CXXConstructExpr(CppSharp::Parser::AST: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2396,7 +2396,7 @@ CppSharp::Parser::AST::Parameter::Parameter(CppSharp::Parser::AST::Parameter^ _0 { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2488,7 +2488,7 @@ CppSharp::Parser::AST::Parameter^ CppSharp::Parser::AST::Function::getParameters void CppSharp::Parser::AST::Function::addParameters(CppSharp::Parser::AST::Parameter^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -2503,7 +2503,7 @@ CppSharp::Parser::AST::Function::Function(CppSharp::Parser::AST::Function^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2684,7 +2684,7 @@ CppSharp::Parser::AST::Method::Method(CppSharp::Parser::AST::Method^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2821,7 +2821,7 @@ CppSharp::Parser::AST::Enumeration::Item::Item(CppSharp::Parser::AST::Enumeratio { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2887,7 +2887,7 @@ CppSharp::Parser::AST::Enumeration::Item^ CppSharp::Parser::AST::Enumeration::ge void CppSharp::Parser::AST::Enumeration::addItems(CppSharp::Parser::AST::Enumeration::Item^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -2902,7 +2902,7 @@ CppSharp::Parser::AST::Enumeration::Enumeration(CppSharp::Parser::AST::Enumerati { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -2975,7 +2975,7 @@ CppSharp::Parser::AST::Variable::Variable(CppSharp::Parser::AST::Variable^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3030,7 +3030,7 @@ CppSharp::Parser::AST::BaseClassSpecifier::BaseClassSpecifier(CppSharp::Parser:: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3117,7 +3117,7 @@ CppSharp::Parser::AST::Field::Field(CppSharp::Parser::AST::Field^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3204,7 +3204,7 @@ CppSharp::Parser::AST::AccessSpecifierDecl::AccessSpecifierDecl(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3246,7 +3246,7 @@ CppSharp::Parser::AST::BaseClassSpecifier^ CppSharp::Parser::AST::Class::getBase void CppSharp::Parser::AST::Class::addBases(CppSharp::Parser::AST::BaseClassSpecifier^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3266,7 +3266,7 @@ CppSharp::Parser::AST::Field^ CppSharp::Parser::AST::Class::getFields(unsigned i void CppSharp::Parser::AST::Class::addFields(CppSharp::Parser::AST::Field^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3286,7 +3286,7 @@ CppSharp::Parser::AST::Method^ CppSharp::Parser::AST::Class::getMethods(unsigned void CppSharp::Parser::AST::Class::addMethods(CppSharp::Parser::AST::Method^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3306,7 +3306,7 @@ CppSharp::Parser::AST::AccessSpecifierDecl^ CppSharp::Parser::AST::Class::getSpe void CppSharp::Parser::AST::Class::addSpecifiers(CppSharp::Parser::AST::AccessSpecifierDecl^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3321,7 +3321,7 @@ CppSharp::Parser::AST::Class::Class(CppSharp::Parser::AST::Class^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3495,7 +3495,7 @@ CppSharp::Parser::AST::TemplateParameter^ CppSharp::Parser::AST::Template::getPa void CppSharp::Parser::AST::Template::addParameters(CppSharp::Parser::AST::TemplateParameter^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); auto &arg0 = *(::CppSharp::CppParser::AST::TemplateParameter*)s->NativePtr; ((::CppSharp::CppParser::AST::Template*)NativePtr)->addParameters(arg0); } @@ -3510,7 +3510,7 @@ CppSharp::Parser::AST::Template::Template(CppSharp::Parser::AST::Template^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3568,7 +3568,7 @@ CppSharp::Parser::AST::ClassTemplateSpecialization^ CppSharp::Parser::AST::Class void CppSharp::Parser::AST::ClassTemplate::addSpecializations(CppSharp::Parser::AST::ClassTemplateSpecialization^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3583,7 +3583,7 @@ CppSharp::Parser::AST::ClassTemplate::ClassTemplate(CppSharp::Parser::AST::Class { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3631,7 +3631,7 @@ CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::ClassTemplateSpe void CppSharp::Parser::AST::ClassTemplateSpecialization::addArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3646,7 +3646,7 @@ CppSharp::Parser::AST::ClassTemplateSpecialization::ClassTemplateSpecialization( { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3709,7 +3709,7 @@ CppSharp::Parser::AST::ClassTemplatePartialSpecialization::ClassTemplatePartialS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3751,7 +3751,7 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization^ CppSharp::Parser::AST::Fu void CppSharp::Parser::AST::FunctionTemplate::addSpecializations(CppSharp::Parser::AST::FunctionTemplateSpecialization^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3766,7 +3766,7 @@ CppSharp::Parser::AST::FunctionTemplate::FunctionTemplate(CppSharp::Parser::AST: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3809,7 +3809,7 @@ CppSharp::Parser::AST::TemplateArgument^ CppSharp::Parser::AST::FunctionTemplate void CppSharp::Parser::AST::FunctionTemplateSpecialization::addArguments(CppSharp::Parser::AST::TemplateArgument^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -3823,7 +3823,7 @@ CppSharp::Parser::AST::FunctionTemplateSpecialization::FunctionTemplateSpecializ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3906,7 +3906,7 @@ CppSharp::Parser::AST::Namespace::Namespace(CppSharp::Parser::AST::Namespace^ _0 { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -3947,7 +3947,7 @@ CppSharp::Parser::AST::PreprocessedEntity::PreprocessedEntity(CppSharp::Parser:: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4024,7 +4024,7 @@ CppSharp::Parser::AST::MacroDefinition::MacroDefinition(CppSharp::Parser::AST::M { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4109,7 +4109,7 @@ CppSharp::Parser::AST::MacroExpansion::MacroExpansion(CppSharp::Parser::AST::Mac { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4189,7 +4189,7 @@ CppSharp::Parser::AST::MacroDefinition^ CppSharp::Parser::AST::TranslationUnit:: void CppSharp::Parser::AST::TranslationUnit::addMacros(CppSharp::Parser::AST::MacroDefinition^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -4204,7 +4204,7 @@ CppSharp::Parser::AST::TranslationUnit::TranslationUnit(CppSharp::Parser::AST::T { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4303,7 +4303,7 @@ CppSharp::Parser::AST::NativeLibrary::NativeLibrary(CppSharp::Parser::AST::Nativ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4386,7 +4386,7 @@ CppSharp::Parser::AST::TranslationUnit^ CppSharp::Parser::AST::ASTContext::getTr void CppSharp::Parser::AST::ASTContext::addTranslationUnits(CppSharp::Parser::AST::TranslationUnit^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -4400,7 +4400,7 @@ CppSharp::Parser::AST::ASTContext::ASTContext(CppSharp::Parser::AST::ASTContext^ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4448,7 +4448,7 @@ CppSharp::Parser::AST::Comment::Comment(CppSharp::Parser::AST::Comment^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4507,7 +4507,7 @@ CppSharp::Parser::AST::BlockContentComment::BlockContentComment(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4549,7 +4549,7 @@ CppSharp::Parser::AST::BlockContentComment^ CppSharp::Parser::AST::FullComment:: void CppSharp::Parser::AST::FullComment::addBlocks(CppSharp::Parser::AST::BlockContentComment^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -4564,7 +4564,7 @@ CppSharp::Parser::AST::FullComment::FullComment(CppSharp::Parser::AST::FullComme { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4601,7 +4601,7 @@ CppSharp::Parser::AST::BlockCommandComment::Argument::Argument(CppSharp::Parser: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4675,7 +4675,7 @@ CppSharp::Parser::AST::BlockCommandComment::Argument^ CppSharp::Parser::AST::Blo void CppSharp::Parser::AST::BlockCommandComment::addArguments(CppSharp::Parser::AST::BlockCommandComment::Argument^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -4690,7 +4690,7 @@ CppSharp::Parser::AST::BlockCommandComment::BlockCommandComment(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4743,7 +4743,7 @@ CppSharp::Parser::AST::ParamCommandComment::ParamCommandComment(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4818,7 +4818,7 @@ CppSharp::Parser::AST::TParamCommandComment::TParamCommandComment(CppSharp::Pars { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4861,7 +4861,7 @@ CppSharp::Parser::AST::VerbatimBlockLineComment::VerbatimBlockLineComment(CppSha { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4917,7 +4917,7 @@ CppSharp::Parser::AST::VerbatimBlockLineComment^ CppSharp::Parser::AST::Verbatim void CppSharp::Parser::AST::VerbatimBlockComment::addLines(CppSharp::Parser::AST::VerbatimBlockLineComment^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -4932,7 +4932,7 @@ CppSharp::Parser::AST::VerbatimBlockComment::VerbatimBlockComment(CppSharp::Pars { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -4975,7 +4975,7 @@ CppSharp::Parser::AST::VerbatimLineComment::VerbatimLineComment(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5028,7 +5028,7 @@ CppSharp::Parser::AST::InlineContentComment::InlineContentComment(CppSharp::Pars { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5070,7 +5070,7 @@ CppSharp::Parser::AST::InlineContentComment^ CppSharp::Parser::AST::ParagraphCom void CppSharp::Parser::AST::ParagraphComment::addContent(CppSharp::Parser::AST::InlineContentComment^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -5085,7 +5085,7 @@ CppSharp::Parser::AST::ParagraphComment::ParagraphComment(CppSharp::Parser::AST: { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5132,7 +5132,7 @@ CppSharp::Parser::AST::InlineCommandComment::Argument::Argument(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5198,7 +5198,7 @@ CppSharp::Parser::AST::InlineCommandComment::Argument^ CppSharp::Parser::AST::In void CppSharp::Parser::AST::InlineCommandComment::addArguments(CppSharp::Parser::AST::InlineCommandComment::Argument^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -5213,7 +5213,7 @@ CppSharp::Parser::AST::InlineCommandComment::InlineCommandComment(CppSharp::Pars { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5268,7 +5268,7 @@ CppSharp::Parser::AST::HTMLTagComment::HTMLTagComment(CppSharp::Parser::AST::HTM { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5299,7 +5299,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute::Attribute(CppSharp::Parse { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5379,7 +5379,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ CppSharp::Parser::AST::HT void CppSharp::Parser::AST::HTMLStartTagComment::addAttributes(CppSharp::Parser::AST::HTMLStartTagComment::Attribute^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -5394,7 +5394,7 @@ CppSharp::Parser::AST::HTMLStartTagComment::HTMLStartTagComment(CppSharp::Parser { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5451,7 +5451,7 @@ CppSharp::Parser::AST::HTMLEndTagComment::HTMLEndTagComment(CppSharp::Parser::AS { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5502,7 +5502,7 @@ CppSharp::Parser::AST::TextComment::TextComment(CppSharp::Parser::AST::TextComme { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -5547,7 +5547,7 @@ CppSharp::Parser::AST::RawComment::RawComment(CppSharp::Parser::AST::RawComment^ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } diff --git a/src/CppParser/Bindings/CLI/CppParser.cpp b/src/CppParser/Bindings/CLI/CppParser.cpp index fe0ca62c..532a5593 100644 --- a/src/CppParser/Bindings/CLI/CppParser.cpp +++ b/src/CppParser/Bindings/CLI/CppParser.cpp @@ -145,7 +145,7 @@ CppSharp::Parser::ParserOptions::ParserOptions(CppSharp::Parser::ParserOptions^ { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw gcnew ::System::ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); auto &arg0 = *(::CppSharp::CppParser::ParserOptions*)_0->NativePtr; NativePtr = new ::CppSharp::CppParser::ParserOptions(arg0); } @@ -340,7 +340,7 @@ CppSharp::Parser::ParserDiagnostic::ParserDiagnostic(CppSharp::Parser::ParserDia { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -439,7 +439,7 @@ CppSharp::Parser::ParserResult::ParserResult(CppSharp::Parser::ParserResult^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } @@ -454,7 +454,7 @@ CppSharp::Parser::ParserDiagnostic^ CppSharp::Parser::ParserResult::getDiagnosti void CppSharp::Parser::ParserResult::addDiagnostics(CppSharp::Parser::ParserDiagnostic^ s) { if (ReferenceEquals(s, nullptr)) - throw gcnew ::System::ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + 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); } @@ -560,7 +560,7 @@ CppSharp::Parser::ClangParser::ClangParser(CppSharp::Parser::ClangParser^ _0) { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } diff --git a/src/CppParser/Bindings/CLI/Target.cpp b/src/CppParser/Bindings/CLI/Target.cpp index 8071668b..0aa1b1af 100644 --- a/src/CppParser/Bindings/CLI/Target.cpp +++ b/src/CppParser/Bindings/CLI/Target.cpp @@ -29,7 +29,7 @@ CppSharp::Parser::ParserTargetInfo::ParserTargetInfo(CppSharp::Parser::ParserTar { __ownsNativeInstance = true; if (ReferenceEquals(_0, nullptr)) - throw gcnew ::System::ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + 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); } diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs index 285001e2..50ad6972 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs @@ -320,7 +320,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -688,7 +688,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -803,7 +803,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -963,7 +963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -991,7 +991,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -1122,7 +1122,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1228,7 +1228,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1321,7 +1321,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1422,7 +1422,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1534,7 +1534,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1847,7 +1847,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -1871,7 +1871,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -2020,7 +2020,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2186,7 +2186,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2327,7 +2327,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2423,7 +2423,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2536,7 +2536,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2613,7 +2613,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2693,7 +2693,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2944,7 +2944,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2973,7 +2973,7 @@ namespace CppSharp public void addComponents(CppSharp.Parser.AST.VTableComponent s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addComponents_0((__Instance + __PointerAdjustment), arg0); } @@ -3079,7 +3079,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3266,7 +3266,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -3295,7 +3295,7 @@ namespace CppSharp public void addVFTables(CppSharp.Parser.AST.VFTableInfo s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVFTables_0((__Instance + __PointerAdjustment), arg0); } @@ -3560,7 +3560,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3593,7 +3593,7 @@ namespace CppSharp public void addPreprocessedEntities(CppSharp.Parser.AST.PreprocessedEntity s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addPreprocessedEntities_0((__Instance + __PointerAdjustment), arg0); } @@ -4102,7 +4102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4130,7 +4130,7 @@ namespace CppSharp public void addNamespaces(CppSharp.Parser.AST.Namespace s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addNamespaces_0((__Instance + __PointerAdjustment), arg0); } @@ -4154,7 +4154,7 @@ namespace CppSharp public void addEnums(CppSharp.Parser.AST.Enumeration s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addEnums_0((__Instance + __PointerAdjustment), arg0); } @@ -4178,7 +4178,7 @@ namespace CppSharp public void addFunctions(CppSharp.Parser.AST.Function s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFunctions_0((__Instance + __PointerAdjustment), arg0); } @@ -4202,7 +4202,7 @@ namespace CppSharp public void addClasses(CppSharp.Parser.AST.Class s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addClasses_0((__Instance + __PointerAdjustment), arg0); } @@ -4226,7 +4226,7 @@ namespace CppSharp public void addTemplates(CppSharp.Parser.AST.Template s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTemplates_0((__Instance + __PointerAdjustment), arg0); } @@ -4250,7 +4250,7 @@ namespace CppSharp public void addTypedefs(CppSharp.Parser.AST.TypedefDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTypedefs_0((__Instance + __PointerAdjustment), arg0); } @@ -4274,7 +4274,7 @@ namespace CppSharp public void addVariables(CppSharp.Parser.AST.Variable s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVariables_0((__Instance + __PointerAdjustment), arg0); } @@ -4298,7 +4298,7 @@ namespace CppSharp public void addFriends(CppSharp.Parser.AST.Friend s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFriends_0((__Instance + __PointerAdjustment), arg0); } @@ -4506,7 +4506,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4646,7 +4646,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4756,7 +4756,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4885,7 +4885,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4978,7 +4978,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5127,7 +5127,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5155,7 +5155,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5257,7 +5257,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5285,7 +5285,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5429,7 +5429,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5696,7 +5696,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5724,7 +5724,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -6101,7 +6101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6468,7 +6468,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6561,7 +6561,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6589,7 +6589,7 @@ namespace CppSharp public void addItems(CppSharp.Parser.AST.Enumeration.Item s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addItems_0((__Instance + __PointerAdjustment), arg0); } @@ -6780,7 +6780,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7102,7 +7102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7296,7 +7296,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7533,7 +7533,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7561,7 +7561,7 @@ namespace CppSharp public void addBases(CppSharp.Parser.AST.BaseClassSpecifier s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBases_0((__Instance + __PointerAdjustment), arg0); } @@ -7585,7 +7585,7 @@ namespace CppSharp public void addFields(CppSharp.Parser.AST.Field s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFields_0((__Instance + __PointerAdjustment), arg0); } @@ -7609,7 +7609,7 @@ namespace CppSharp public void addMethods(CppSharp.Parser.AST.Method s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMethods_0((__Instance + __PointerAdjustment), arg0); } @@ -7633,7 +7633,7 @@ namespace CppSharp public void addSpecifiers(CppSharp.Parser.AST.AccessSpecifierDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecifiers_0((__Instance + __PointerAdjustment), arg0); } @@ -7962,7 +7962,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -7986,7 +7986,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.TemplateParameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -8156,7 +8156,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8184,7 +8184,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.ClassTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8372,7 +8372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8396,7 +8396,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -8595,7 +8595,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8742,7 +8742,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8770,7 +8770,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.FunctionTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8893,7 +8893,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -8922,7 +8922,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -9106,7 +9106,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9372,7 +9372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9547,7 +9547,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9760,7 +9760,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9788,7 +9788,7 @@ namespace CppSharp public void addMacros(CppSharp.Parser.AST.MacroDefinition s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMacros_0((__Instance + __PointerAdjustment), arg0); } @@ -9964,7 +9964,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10161,7 +10161,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10194,7 +10194,7 @@ namespace CppSharp public void addTranslationUnits(CppSharp.Parser.AST.TranslationUnit s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTranslationUnits_0((__Instance + __PointerAdjustment), arg0); } @@ -10495,7 +10495,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10523,7 +10523,7 @@ namespace CppSharp public void addBlocks(CppSharp.Parser.AST.BlockContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBlocks_0((__Instance + __PointerAdjustment), arg0); } @@ -10608,7 +10608,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -10647,7 +10647,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(12); - CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -10679,9 +10679,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -10774,7 +10774,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -10798,7 +10798,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.BlockCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -10920,7 +10920,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11057,7 +11057,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11184,7 +11184,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11311,7 +11311,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11339,7 +11339,7 @@ namespace CppSharp public void addLines(CppSharp.Parser.AST.VerbatimBlockLineComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addLines_0((__Instance + __PointerAdjustment), arg0); } @@ -11445,7 +11445,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11658,7 +11658,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11686,7 +11686,7 @@ namespace CppSharp public void addContent(CppSharp.Parser.AST.InlineContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addContent_0((__Instance + __PointerAdjustment), arg0); } @@ -11787,7 +11787,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -11826,7 +11826,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(12); - CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -11858,9 +11858,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -11943,7 +11943,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11967,7 +11967,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.InlineCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -12153,7 +12153,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -12202,7 +12202,7 @@ namespace CppSharp private static void* __CopyValue(Attribute.Internal native) { var ret = Marshal.AllocHGlobal(24); - CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -12234,9 +12234,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -12335,7 +12335,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12359,7 +12359,7 @@ namespace CppSharp public void addAttributes(CppSharp.Parser.AST.HTMLStartTagComment.Attribute s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addAttributes_0((__Instance + __PointerAdjustment), arg0); } @@ -12478,7 +12478,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12592,7 +12592,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12723,7 +12723,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs index c94ae84f..8fb2202c 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppParser.cs @@ -286,7 +286,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -730,7 +730,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -927,7 +927,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -956,7 +956,7 @@ namespace CppSharp public void addDiagnostics(CppSharp.Parser.ParserDiagnostic s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addDiagnostics_0((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Target.cs b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Target.cs index fc1116e0..6158a85c 100644 --- a/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Target.cs +++ b/src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/Target.cs @@ -223,7 +223,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs index b7bcb6c0..dbf8d7c8 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/AST.cs @@ -320,7 +320,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -688,7 +688,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -803,7 +803,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -963,7 +963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -991,7 +991,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -1122,7 +1122,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1228,7 +1228,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1321,7 +1321,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1422,7 +1422,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1534,7 +1534,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1847,7 +1847,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -1871,7 +1871,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -2020,7 +2020,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2186,7 +2186,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2327,7 +2327,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2423,7 +2423,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2536,7 +2536,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2613,7 +2613,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2693,7 +2693,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2944,7 +2944,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2973,7 +2973,7 @@ namespace CppSharp public void addComponents(CppSharp.Parser.AST.VTableComponent s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addComponents_0((__Instance + __PointerAdjustment), arg0); } @@ -3079,7 +3079,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3266,7 +3266,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -3295,7 +3295,7 @@ namespace CppSharp public void addVFTables(CppSharp.Parser.AST.VFTableInfo s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVFTables_0((__Instance + __PointerAdjustment), arg0); } @@ -3560,7 +3560,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3593,7 +3593,7 @@ namespace CppSharp public void addPreprocessedEntities(CppSharp.Parser.AST.PreprocessedEntity s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addPreprocessedEntities_0((__Instance + __PointerAdjustment), arg0); } @@ -4102,7 +4102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4130,7 +4130,7 @@ namespace CppSharp public void addNamespaces(CppSharp.Parser.AST.Namespace s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addNamespaces_0((__Instance + __PointerAdjustment), arg0); } @@ -4154,7 +4154,7 @@ namespace CppSharp public void addEnums(CppSharp.Parser.AST.Enumeration s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addEnums_0((__Instance + __PointerAdjustment), arg0); } @@ -4178,7 +4178,7 @@ namespace CppSharp public void addFunctions(CppSharp.Parser.AST.Function s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFunctions_0((__Instance + __PointerAdjustment), arg0); } @@ -4202,7 +4202,7 @@ namespace CppSharp public void addClasses(CppSharp.Parser.AST.Class s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addClasses_0((__Instance + __PointerAdjustment), arg0); } @@ -4226,7 +4226,7 @@ namespace CppSharp public void addTemplates(CppSharp.Parser.AST.Template s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTemplates_0((__Instance + __PointerAdjustment), arg0); } @@ -4250,7 +4250,7 @@ namespace CppSharp public void addTypedefs(CppSharp.Parser.AST.TypedefDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTypedefs_0((__Instance + __PointerAdjustment), arg0); } @@ -4274,7 +4274,7 @@ namespace CppSharp public void addVariables(CppSharp.Parser.AST.Variable s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVariables_0((__Instance + __PointerAdjustment), arg0); } @@ -4298,7 +4298,7 @@ namespace CppSharp public void addFriends(CppSharp.Parser.AST.Friend s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFriends_0((__Instance + __PointerAdjustment), arg0); } @@ -4506,7 +4506,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4646,7 +4646,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4756,7 +4756,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4885,7 +4885,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4978,7 +4978,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5127,7 +5127,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5155,7 +5155,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5257,7 +5257,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5285,7 +5285,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5429,7 +5429,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5696,7 +5696,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5724,7 +5724,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -6101,7 +6101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6468,7 +6468,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6561,7 +6561,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6589,7 +6589,7 @@ namespace CppSharp public void addItems(CppSharp.Parser.AST.Enumeration.Item s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addItems_0((__Instance + __PointerAdjustment), arg0); } @@ -6780,7 +6780,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7102,7 +7102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7296,7 +7296,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7533,7 +7533,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7561,7 +7561,7 @@ namespace CppSharp public void addBases(CppSharp.Parser.AST.BaseClassSpecifier s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBases_0((__Instance + __PointerAdjustment), arg0); } @@ -7585,7 +7585,7 @@ namespace CppSharp public void addFields(CppSharp.Parser.AST.Field s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFields_0((__Instance + __PointerAdjustment), arg0); } @@ -7609,7 +7609,7 @@ namespace CppSharp public void addMethods(CppSharp.Parser.AST.Method s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMethods_0((__Instance + __PointerAdjustment), arg0); } @@ -7633,7 +7633,7 @@ namespace CppSharp public void addSpecifiers(CppSharp.Parser.AST.AccessSpecifierDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecifiers_0((__Instance + __PointerAdjustment), arg0); } @@ -7962,7 +7962,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -7986,7 +7986,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.TemplateParameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -8156,7 +8156,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8184,7 +8184,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.ClassTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8372,7 +8372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8396,7 +8396,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -8595,7 +8595,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8742,7 +8742,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8770,7 +8770,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.FunctionTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8893,7 +8893,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -8922,7 +8922,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -9106,7 +9106,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9372,7 +9372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9547,7 +9547,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9760,7 +9760,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9788,7 +9788,7 @@ namespace CppSharp public void addMacros(CppSharp.Parser.AST.MacroDefinition s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMacros_0((__Instance + __PointerAdjustment), arg0); } @@ -9964,7 +9964,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10161,7 +10161,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10194,7 +10194,7 @@ namespace CppSharp public void addTranslationUnits(CppSharp.Parser.AST.TranslationUnit s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTranslationUnits_0((__Instance + __PointerAdjustment), arg0); } @@ -10495,7 +10495,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10523,7 +10523,7 @@ namespace CppSharp public void addBlocks(CppSharp.Parser.AST.BlockContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBlocks_0((__Instance + __PointerAdjustment), arg0); } @@ -10608,7 +10608,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, EntryPoint="??0Argument@BlockCommandComment@AST@CppParser@CppSharp@@QAE@ABV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, @@ -10647,7 +10647,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(24); - CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -10679,9 +10679,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -10774,7 +10774,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -10798,7 +10798,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.BlockCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -10920,7 +10920,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11057,7 +11057,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11184,7 +11184,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11311,7 +11311,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11339,7 +11339,7 @@ namespace CppSharp public void addLines(CppSharp.Parser.AST.VerbatimBlockLineComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addLines_0((__Instance + __PointerAdjustment), arg0); } @@ -11445,7 +11445,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11658,7 +11658,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11686,7 +11686,7 @@ namespace CppSharp public void addContent(CppSharp.Parser.AST.InlineContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addContent_0((__Instance + __PointerAdjustment), arg0); } @@ -11787,7 +11787,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, EntryPoint="??0Argument@InlineCommandComment@AST@CppParser@CppSharp@@QAE@ABV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, @@ -11826,7 +11826,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(24); - CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -11858,9 +11858,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -11943,7 +11943,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11967,7 +11967,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.InlineCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -12153,7 +12153,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, EntryPoint="??0Attribute@HTMLStartTagComment@AST@CppParser@CppSharp@@QAE@ABV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.ThisCall, @@ -12202,7 +12202,7 @@ namespace CppSharp private static void* __CopyValue(Attribute.Internal native) { var ret = Marshal.AllocHGlobal(48); - CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -12234,9 +12234,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -12335,7 +12335,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12359,7 +12359,7 @@ namespace CppSharp public void addAttributes(CppSharp.Parser.AST.HTMLStartTagComment.Attribute s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addAttributes_0((__Instance + __PointerAdjustment), arg0); } @@ -12478,7 +12478,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12592,7 +12592,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12723,7 +12723,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs index 53ae90a3..48f3bdf2 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppParser.cs @@ -286,7 +286,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -730,7 +730,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -927,7 +927,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -956,7 +956,7 @@ namespace CppSharp public void addDiagnostics(CppSharp.Parser.ParserDiagnostic s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addDiagnostics_0((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Target.cs b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Target.cs index cb26131d..9280357e 100644 --- a/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Target.cs +++ b/src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/Target.cs @@ -223,7 +223,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs index 5a20a2f8..0df4809f 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/AST.cs @@ -320,7 +320,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -688,7 +688,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -803,7 +803,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -963,7 +963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -991,7 +991,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -1122,7 +1122,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1228,7 +1228,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1321,7 +1321,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1422,7 +1422,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1534,7 +1534,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1847,7 +1847,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -1871,7 +1871,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -2020,7 +2020,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2186,7 +2186,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2327,7 +2327,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2423,7 +2423,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2536,7 +2536,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2613,7 +2613,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2693,7 +2693,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2944,7 +2944,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2972,7 +2972,7 @@ namespace CppSharp public void addComponents(CppSharp.Parser.AST.VTableComponent s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addComponents_0((__Instance + __PointerAdjustment), arg0); } @@ -3078,7 +3078,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3265,7 +3265,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -3294,7 +3294,7 @@ namespace CppSharp public void addVFTables(CppSharp.Parser.AST.VFTableInfo s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVFTables_0((__Instance + __PointerAdjustment), arg0); } @@ -3559,7 +3559,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3592,7 +3592,7 @@ namespace CppSharp public void addPreprocessedEntities(CppSharp.Parser.AST.PreprocessedEntity s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addPreprocessedEntities_0((__Instance + __PointerAdjustment), arg0); } @@ -4101,7 +4101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4129,7 +4129,7 @@ namespace CppSharp public void addNamespaces(CppSharp.Parser.AST.Namespace s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addNamespaces_0((__Instance + __PointerAdjustment), arg0); } @@ -4153,7 +4153,7 @@ namespace CppSharp public void addEnums(CppSharp.Parser.AST.Enumeration s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addEnums_0((__Instance + __PointerAdjustment), arg0); } @@ -4177,7 +4177,7 @@ namespace CppSharp public void addFunctions(CppSharp.Parser.AST.Function s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFunctions_0((__Instance + __PointerAdjustment), arg0); } @@ -4201,7 +4201,7 @@ namespace CppSharp public void addClasses(CppSharp.Parser.AST.Class s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addClasses_0((__Instance + __PointerAdjustment), arg0); } @@ -4225,7 +4225,7 @@ namespace CppSharp public void addTemplates(CppSharp.Parser.AST.Template s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTemplates_0((__Instance + __PointerAdjustment), arg0); } @@ -4249,7 +4249,7 @@ namespace CppSharp public void addTypedefs(CppSharp.Parser.AST.TypedefDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTypedefs_0((__Instance + __PointerAdjustment), arg0); } @@ -4273,7 +4273,7 @@ namespace CppSharp public void addVariables(CppSharp.Parser.AST.Variable s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVariables_0((__Instance + __PointerAdjustment), arg0); } @@ -4297,7 +4297,7 @@ namespace CppSharp public void addFriends(CppSharp.Parser.AST.Friend s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFriends_0((__Instance + __PointerAdjustment), arg0); } @@ -4505,7 +4505,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4645,7 +4645,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4755,7 +4755,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4884,7 +4884,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4977,7 +4977,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5126,7 +5126,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5154,7 +5154,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5256,7 +5256,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5284,7 +5284,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5428,7 +5428,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5695,7 +5695,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5723,7 +5723,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -6100,7 +6100,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6467,7 +6467,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6560,7 +6560,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6588,7 +6588,7 @@ namespace CppSharp public void addItems(CppSharp.Parser.AST.Enumeration.Item s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addItems_0((__Instance + __PointerAdjustment), arg0); } @@ -6779,7 +6779,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7101,7 +7101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7295,7 +7295,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7532,7 +7532,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7560,7 +7560,7 @@ namespace CppSharp public void addBases(CppSharp.Parser.AST.BaseClassSpecifier s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBases_0((__Instance + __PointerAdjustment), arg0); } @@ -7584,7 +7584,7 @@ namespace CppSharp public void addFields(CppSharp.Parser.AST.Field s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFields_0((__Instance + __PointerAdjustment), arg0); } @@ -7608,7 +7608,7 @@ namespace CppSharp public void addMethods(CppSharp.Parser.AST.Method s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMethods_0((__Instance + __PointerAdjustment), arg0); } @@ -7632,7 +7632,7 @@ namespace CppSharp public void addSpecifiers(CppSharp.Parser.AST.AccessSpecifierDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecifiers_0((__Instance + __PointerAdjustment), arg0); } @@ -7961,7 +7961,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -7985,7 +7985,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.TemplateParameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -8155,7 +8155,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8183,7 +8183,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.ClassTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8371,7 +8371,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8395,7 +8395,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -8594,7 +8594,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8741,7 +8741,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8769,7 +8769,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.FunctionTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8892,7 +8892,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -8921,7 +8921,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -9105,7 +9105,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9371,7 +9371,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9546,7 +9546,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9759,7 +9759,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9787,7 +9787,7 @@ namespace CppSharp public void addMacros(CppSharp.Parser.AST.MacroDefinition s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMacros_0((__Instance + __PointerAdjustment), arg0); } @@ -9963,7 +9963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10160,7 +10160,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10193,7 +10193,7 @@ namespace CppSharp public void addTranslationUnits(CppSharp.Parser.AST.TranslationUnit s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTranslationUnits_0((__Instance + __PointerAdjustment), arg0); } @@ -10494,7 +10494,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10522,7 +10522,7 @@ namespace CppSharp public void addBlocks(CppSharp.Parser.AST.BlockContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBlocks_0((__Instance + __PointerAdjustment), arg0); } @@ -10607,7 +10607,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST19BlockCommandComment8ArgumentC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -10646,7 +10646,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(24); - CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -10678,9 +10678,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -10773,7 +10773,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -10797,7 +10797,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.BlockCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -10919,7 +10919,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11056,7 +11056,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11183,7 +11183,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11310,7 +11310,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11338,7 +11338,7 @@ namespace CppSharp public void addLines(CppSharp.Parser.AST.VerbatimBlockLineComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addLines_0((__Instance + __PointerAdjustment), arg0); } @@ -11444,7 +11444,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11657,7 +11657,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11685,7 +11685,7 @@ namespace CppSharp public void addContent(CppSharp.Parser.AST.InlineContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addContent_0((__Instance + __PointerAdjustment), arg0); } @@ -11786,7 +11786,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST20InlineCommandComment8ArgumentC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -11825,7 +11825,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(24); - CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -11857,9 +11857,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -11942,7 +11942,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11966,7 +11966,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.InlineCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -12152,7 +12152,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="_ZN8CppSharp9CppParser3AST19HTMLStartTagComment9AttributeC2ERKS3_")] - internal static extern void cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern void cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -12201,7 +12201,7 @@ namespace CppSharp private static void* __CopyValue(Attribute.Internal native) { var ret = Marshal.AllocHGlobal(48); - CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -12233,9 +12233,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -12334,7 +12334,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12358,7 +12358,7 @@ namespace CppSharp public void addAttributes(CppSharp.Parser.AST.HTMLStartTagComment.Attribute s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addAttributes_0((__Instance + __PointerAdjustment), arg0); } @@ -12477,7 +12477,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12591,7 +12591,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12722,7 +12722,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs index aabda986..2b8f35f1 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppParser.cs @@ -286,7 +286,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -730,7 +730,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -927,7 +927,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -956,7 +956,7 @@ namespace CppSharp public void addDiagnostics(CppSharp.Parser.ParserDiagnostic s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addDiagnostics_0((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Target.cs b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Target.cs index 2b2baf7c..fdf99e4e 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Target.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/Target.cs @@ -223,7 +223,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs index 81938c31..950a6d6c 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/AST.cs @@ -320,7 +320,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -688,7 +688,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -803,7 +803,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -963,7 +963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -991,7 +991,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -1122,7 +1122,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1228,7 +1228,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1321,7 +1321,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1422,7 +1422,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1534,7 +1534,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1847,7 +1847,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -1871,7 +1871,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -2020,7 +2020,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2186,7 +2186,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2327,7 +2327,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2423,7 +2423,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2536,7 +2536,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2613,7 +2613,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2693,7 +2693,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2944,7 +2944,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2972,7 +2972,7 @@ namespace CppSharp public void addComponents(CppSharp.Parser.AST.VTableComponent s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addComponents_0((__Instance + __PointerAdjustment), arg0); } @@ -3078,7 +3078,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3265,7 +3265,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -3294,7 +3294,7 @@ namespace CppSharp public void addVFTables(CppSharp.Parser.AST.VFTableInfo s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVFTables_0((__Instance + __PointerAdjustment), arg0); } @@ -3559,7 +3559,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3592,7 +3592,7 @@ namespace CppSharp public void addPreprocessedEntities(CppSharp.Parser.AST.PreprocessedEntity s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addPreprocessedEntities_0((__Instance + __PointerAdjustment), arg0); } @@ -4101,7 +4101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4129,7 +4129,7 @@ namespace CppSharp public void addNamespaces(CppSharp.Parser.AST.Namespace s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addNamespaces_0((__Instance + __PointerAdjustment), arg0); } @@ -4153,7 +4153,7 @@ namespace CppSharp public void addEnums(CppSharp.Parser.AST.Enumeration s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addEnums_0((__Instance + __PointerAdjustment), arg0); } @@ -4177,7 +4177,7 @@ namespace CppSharp public void addFunctions(CppSharp.Parser.AST.Function s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFunctions_0((__Instance + __PointerAdjustment), arg0); } @@ -4201,7 +4201,7 @@ namespace CppSharp public void addClasses(CppSharp.Parser.AST.Class s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addClasses_0((__Instance + __PointerAdjustment), arg0); } @@ -4225,7 +4225,7 @@ namespace CppSharp public void addTemplates(CppSharp.Parser.AST.Template s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTemplates_0((__Instance + __PointerAdjustment), arg0); } @@ -4249,7 +4249,7 @@ namespace CppSharp public void addTypedefs(CppSharp.Parser.AST.TypedefDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTypedefs_0((__Instance + __PointerAdjustment), arg0); } @@ -4273,7 +4273,7 @@ namespace CppSharp public void addVariables(CppSharp.Parser.AST.Variable s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVariables_0((__Instance + __PointerAdjustment), arg0); } @@ -4297,7 +4297,7 @@ namespace CppSharp public void addFriends(CppSharp.Parser.AST.Friend s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFriends_0((__Instance + __PointerAdjustment), arg0); } @@ -4505,7 +4505,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4645,7 +4645,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4755,7 +4755,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4884,7 +4884,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4977,7 +4977,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5126,7 +5126,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5154,7 +5154,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5256,7 +5256,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5284,7 +5284,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5428,7 +5428,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5695,7 +5695,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5723,7 +5723,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -6100,7 +6100,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6467,7 +6467,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6560,7 +6560,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6588,7 +6588,7 @@ namespace CppSharp public void addItems(CppSharp.Parser.AST.Enumeration.Item s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addItems_0((__Instance + __PointerAdjustment), arg0); } @@ -6779,7 +6779,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7101,7 +7101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7295,7 +7295,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7532,7 +7532,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7560,7 +7560,7 @@ namespace CppSharp public void addBases(CppSharp.Parser.AST.BaseClassSpecifier s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBases_0((__Instance + __PointerAdjustment), arg0); } @@ -7584,7 +7584,7 @@ namespace CppSharp public void addFields(CppSharp.Parser.AST.Field s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFields_0((__Instance + __PointerAdjustment), arg0); } @@ -7608,7 +7608,7 @@ namespace CppSharp public void addMethods(CppSharp.Parser.AST.Method s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMethods_0((__Instance + __PointerAdjustment), arg0); } @@ -7632,7 +7632,7 @@ namespace CppSharp public void addSpecifiers(CppSharp.Parser.AST.AccessSpecifierDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecifiers_0((__Instance + __PointerAdjustment), arg0); } @@ -7961,7 +7961,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -7985,7 +7985,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.TemplateParameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -8155,7 +8155,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8183,7 +8183,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.ClassTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8371,7 +8371,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8395,7 +8395,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -8594,7 +8594,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8741,7 +8741,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8769,7 +8769,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.FunctionTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8892,7 +8892,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -8921,7 +8921,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -9105,7 +9105,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9371,7 +9371,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9546,7 +9546,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9759,7 +9759,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9787,7 +9787,7 @@ namespace CppSharp public void addMacros(CppSharp.Parser.AST.MacroDefinition s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMacros_0((__Instance + __PointerAdjustment), arg0); } @@ -9963,7 +9963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10160,7 +10160,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10193,7 +10193,7 @@ namespace CppSharp public void addTranslationUnits(CppSharp.Parser.AST.TranslationUnit s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTranslationUnits_0((__Instance + __PointerAdjustment), arg0); } @@ -10494,7 +10494,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10522,7 +10522,7 @@ namespace CppSharp public void addBlocks(CppSharp.Parser.AST.BlockContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBlocks_0((__Instance + __PointerAdjustment), arg0); } @@ -10678,7 +10678,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10773,7 +10773,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -10797,7 +10797,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.BlockCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -10919,7 +10919,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11056,7 +11056,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11183,7 +11183,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11310,7 +11310,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11338,7 +11338,7 @@ namespace CppSharp public void addLines(CppSharp.Parser.AST.VerbatimBlockLineComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addLines_0((__Instance + __PointerAdjustment), arg0); } @@ -11444,7 +11444,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11657,7 +11657,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11685,7 +11685,7 @@ namespace CppSharp public void addContent(CppSharp.Parser.AST.InlineContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addContent_0((__Instance + __PointerAdjustment), arg0); } @@ -11857,7 +11857,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11942,7 +11942,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11966,7 +11966,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.InlineCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -12233,7 +12233,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -12334,7 +12334,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -12358,7 +12358,7 @@ namespace CppSharp public void addAttributes(CppSharp.Parser.AST.HTMLStartTagComment.Attribute s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addAttributes_0((__Instance + __PointerAdjustment), arg0); } @@ -12477,7 +12477,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -12591,7 +12591,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -12722,7 +12722,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs index 2c496c69..0aa7df97 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppParser.cs @@ -286,7 +286,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -730,7 +730,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -927,7 +927,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -956,7 +956,7 @@ namespace CppSharp public void addDiagnostics(CppSharp.Parser.ParserDiagnostic s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addDiagnostics_0((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Target.cs b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Target.cs index 1f0f3b3f..44ed85ba 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Target.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-linux-gnu/Target.cs @@ -223,7 +223,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs index 1ca2947b..6285c18c 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/AST.cs @@ -320,7 +320,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -688,7 +688,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -803,7 +803,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -963,7 +963,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -991,7 +991,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -1122,7 +1122,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1228,7 +1228,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1321,7 +1321,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1422,7 +1422,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1534,7 +1534,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -1847,7 +1847,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -1871,7 +1871,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -2020,7 +2020,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2186,7 +2186,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2327,7 +2327,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2423,7 +2423,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2536,7 +2536,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2613,7 +2613,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2693,7 +2693,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -2944,7 +2944,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -2973,7 +2973,7 @@ namespace CppSharp public void addComponents(CppSharp.Parser.AST.VTableComponent s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addComponents_0((__Instance + __PointerAdjustment), arg0); } @@ -3079,7 +3079,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3266,7 +3266,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -3295,7 +3295,7 @@ namespace CppSharp public void addVFTables(CppSharp.Parser.AST.VFTableInfo s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVFTables_0((__Instance + __PointerAdjustment), arg0); } @@ -3560,7 +3560,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -3593,7 +3593,7 @@ namespace CppSharp public void addPreprocessedEntities(CppSharp.Parser.AST.PreprocessedEntity s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addPreprocessedEntities_0((__Instance + __PointerAdjustment), arg0); } @@ -4102,7 +4102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4130,7 +4130,7 @@ namespace CppSharp public void addNamespaces(CppSharp.Parser.AST.Namespace s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addNamespaces_0((__Instance + __PointerAdjustment), arg0); } @@ -4154,7 +4154,7 @@ namespace CppSharp public void addEnums(CppSharp.Parser.AST.Enumeration s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addEnums_0((__Instance + __PointerAdjustment), arg0); } @@ -4178,7 +4178,7 @@ namespace CppSharp public void addFunctions(CppSharp.Parser.AST.Function s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFunctions_0((__Instance + __PointerAdjustment), arg0); } @@ -4202,7 +4202,7 @@ namespace CppSharp public void addClasses(CppSharp.Parser.AST.Class s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addClasses_0((__Instance + __PointerAdjustment), arg0); } @@ -4226,7 +4226,7 @@ namespace CppSharp public void addTemplates(CppSharp.Parser.AST.Template s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTemplates_0((__Instance + __PointerAdjustment), arg0); } @@ -4250,7 +4250,7 @@ namespace CppSharp public void addTypedefs(CppSharp.Parser.AST.TypedefDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTypedefs_0((__Instance + __PointerAdjustment), arg0); } @@ -4274,7 +4274,7 @@ namespace CppSharp public void addVariables(CppSharp.Parser.AST.Variable s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addVariables_0((__Instance + __PointerAdjustment), arg0); } @@ -4298,7 +4298,7 @@ namespace CppSharp public void addFriends(CppSharp.Parser.AST.Friend s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFriends_0((__Instance + __PointerAdjustment), arg0); } @@ -4506,7 +4506,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4646,7 +4646,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4756,7 +4756,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -4885,7 +4885,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -4978,7 +4978,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5127,7 +5127,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5155,7 +5155,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5257,7 +5257,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5285,7 +5285,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.Expression s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -5429,7 +5429,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5696,7 +5696,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -5724,7 +5724,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.Parameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -6101,7 +6101,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6468,7 +6468,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6561,7 +6561,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -6589,7 +6589,7 @@ namespace CppSharp public void addItems(CppSharp.Parser.AST.Enumeration.Item s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addItems_0((__Instance + __PointerAdjustment), arg0); } @@ -6780,7 +6780,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7102,7 +7102,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7296,7 +7296,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7533,7 +7533,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -7561,7 +7561,7 @@ namespace CppSharp public void addBases(CppSharp.Parser.AST.BaseClassSpecifier s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBases_0((__Instance + __PointerAdjustment), arg0); } @@ -7585,7 +7585,7 @@ namespace CppSharp public void addFields(CppSharp.Parser.AST.Field s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addFields_0((__Instance + __PointerAdjustment), arg0); } @@ -7609,7 +7609,7 @@ namespace CppSharp public void addMethods(CppSharp.Parser.AST.Method s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMethods_0((__Instance + __PointerAdjustment), arg0); } @@ -7633,7 +7633,7 @@ namespace CppSharp public void addSpecifiers(CppSharp.Parser.AST.AccessSpecifierDecl s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecifiers_0((__Instance + __PointerAdjustment), arg0); } @@ -7962,7 +7962,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -7986,7 +7986,7 @@ namespace CppSharp public void addParameters(CppSharp.Parser.AST.TemplateParameter s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addParameters_0((__Instance + __PointerAdjustment), arg0); } @@ -8156,7 +8156,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8184,7 +8184,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.ClassTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8372,7 +8372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8396,7 +8396,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -8595,7 +8595,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8742,7 +8742,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -8770,7 +8770,7 @@ namespace CppSharp public void addSpecializations(CppSharp.Parser.AST.FunctionTemplateSpecialization s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addSpecializations_0((__Instance + __PointerAdjustment), arg0); } @@ -8893,7 +8893,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -8922,7 +8922,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.TemplateArgument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -9106,7 +9106,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9372,7 +9372,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9547,7 +9547,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9760,7 +9760,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -9788,7 +9788,7 @@ namespace CppSharp public void addMacros(CppSharp.Parser.AST.MacroDefinition s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addMacros_0((__Instance + __PointerAdjustment), arg0); } @@ -9964,7 +9964,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10161,7 +10161,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10194,7 +10194,7 @@ namespace CppSharp public void addTranslationUnits(CppSharp.Parser.AST.TranslationUnit s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addTranslationUnits_0((__Instance + __PointerAdjustment), arg0); } @@ -10495,7 +10495,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -10523,7 +10523,7 @@ namespace CppSharp public void addBlocks(CppSharp.Parser.AST.BlockContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addBlocks_0((__Instance + __PointerAdjustment), arg0); } @@ -10608,7 +10608,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="??0Argument@BlockCommandComment@AST@CppParser@CppSharp@@QEAA@AEBV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -10647,7 +10647,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(32); - CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.BlockCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -10679,9 +10679,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -10774,7 +10774,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_3((__Instance + __PointerAdjustment), arg0); } @@ -10798,7 +10798,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.BlockCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -10920,7 +10920,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11057,7 +11057,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11184,7 +11184,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11311,7 +11311,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11339,7 +11339,7 @@ namespace CppSharp public void addLines(CppSharp.Parser.AST.VerbatimBlockLineComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addLines_0((__Instance + __PointerAdjustment), arg0); } @@ -11445,7 +11445,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11658,7 +11658,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -11686,7 +11686,7 @@ namespace CppSharp public void addContent(CppSharp.Parser.AST.InlineContentComment s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addContent_0((__Instance + __PointerAdjustment), arg0); } @@ -11787,7 +11787,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="??0Argument@InlineCommandComment@AST@CppParser@CppSharp@@QEAA@AEBV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -11826,7 +11826,7 @@ namespace CppSharp private static void* __CopyValue(Argument.Internal native) { var ret = Marshal.AllocHGlobal(32); - CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.InlineCommandComment.Argument.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -11858,9 +11858,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -11943,7 +11943,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -11967,7 +11967,7 @@ namespace CppSharp public void addArguments(CppSharp.Parser.AST.InlineCommandComment.Argument s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addArguments_0((__Instance + __PointerAdjustment), arg0); } @@ -12153,7 +12153,7 @@ namespace CppSharp [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, EntryPoint="??0Attribute@HTMLStartTagComment@AST@CppParser@CppSharp@@QEAA@AEBV01234@@Z")] - internal static extern global::System.IntPtr cctor_2(global::System.IntPtr instance, global::System.IntPtr _0); + internal static extern global::System.IntPtr cctor_1(global::System.IntPtr instance, global::System.IntPtr _0); [SuppressUnmanagedCodeSecurity] [DllImport("CppSharp.CppParser.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.Cdecl, @@ -12202,7 +12202,7 @@ namespace CppSharp private static void* __CopyValue(Attribute.Internal native) { var ret = Marshal.AllocHGlobal(64); - CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_2(ret, new global::System.IntPtr(&native)); + CppSharp.Parser.AST.HTMLStartTagComment.Attribute.Internal.cctor_1(ret, new global::System.IntPtr(&native)); return ret.ToPointer(); } @@ -12234,9 +12234,9 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; - Internal.cctor_2((__Instance + __PointerAdjustment), arg0); + Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } public void Dispose() @@ -12335,7 +12335,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12359,7 +12359,7 @@ namespace CppSharp public void addAttributes(CppSharp.Parser.AST.HTMLStartTagComment.Attribute s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addAttributes_0((__Instance + __PointerAdjustment), arg0); } @@ -12478,7 +12478,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12592,7 +12592,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -12723,7 +12723,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppParser.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppParser.cs index 75c53ceb..38012f0f 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppParser.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppParser.cs @@ -286,7 +286,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_2((__Instance + __PointerAdjustment), arg0); } @@ -730,7 +730,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -927,7 +927,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); } @@ -956,7 +956,7 @@ namespace CppSharp public void addDiagnostics(CppSharp.Parser.ParserDiagnostic s) { if (ReferenceEquals(s, null)) - throw new global::System.ArgumentNullException("s", "s cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("s", "Cannot be null because it is a C++ reference (&)."); var arg0 = s.__Instance; Internal.addDiagnostics_0((__Instance + __PointerAdjustment), arg0); } diff --git a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Target.cs b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Target.cs index b40c6e6b..8bebe1fe 100644 --- a/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Target.cs +++ b/src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/Target.cs @@ -223,7 +223,7 @@ namespace CppSharp __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; if (ReferenceEquals(_0, null)) - throw new global::System.ArgumentNullException("_0", "_0 cannot be null because it is a C++ reference (&)."); + throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&)."); var arg0 = _0.__Instance; Internal.cctor_1((__Instance + __PointerAdjustment), arg0); }