// ---------------------------------------------------------------------------- // // This is autogenerated code by CppSharp. // Do not edit this file or all your changes will be lost after re-generation. // // ---------------------------------------------------------------------------- #include "Sources.h" using namespace System; using namespace System::Runtime::InteropServices; CppSharp::Parser::SourceLocation::SourceLocation(::CppSharp::CppParser::SourceLocation* native) { __ID = native->ID; } CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native) { return gcnew ::CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*) native.ToPointer()); } CppSharp::Parser::SourceLocation::SourceLocation(unsigned int ID) { ::CppSharp::CppParser::SourceLocation _native(ID); this->ID = _native.ID; } CppSharp::Parser::SourceLocation::operator CppSharp::Parser::SourceLocation(unsigned int ID) { auto __ret = (::CppSharp::CppParser::SourceLocation) ID; return CppSharp::Parser::SourceLocation((::CppSharp::CppParser::SourceLocation*)&__ret); } unsigned int CppSharp::Parser::SourceLocation::ID::get() { return __ID; } void CppSharp::Parser::SourceLocation::ID::set(unsigned int value) { __ID = value; }