9
9
using namespace System ;
10
10
using namespace System ::Runtime::InteropServices;
11
11
12
- CppSharp::Parser::SourceLocation::SourceLocation (::CppSharp::CppParser::SourceLocation* native)
12
+ CppSharp::Parser::SourceLocation::SourceLocation (struct ::CppSharp::CppParser::SourceLocation* native)
13
13
{
14
14
__ID = native->ID ;
15
15
}
16
16
17
17
CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native)
18
18
{
19
- return gcnew ::CppSharp::Parser::SourceLocation ((::CppSharp::CppParser::SourceLocation*) native.ToPointer ());
19
+ return gcnew ::CppSharp::Parser::SourceLocation ((struct ::CppSharp::CppParser::SourceLocation*) native.ToPointer ());
20
20
}
21
21
22
- CppSharp::Parser::SourceLocation::SourceLocation (::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance)
22
+ CppSharp::Parser::SourceLocation::SourceLocation (struct ::CppSharp::CppParser::SourceLocation* native, bool ownNativeInstance)
23
23
{
24
24
__ID = native->ID ;
25
25
}
26
26
27
27
CppSharp::Parser::SourceLocation^ CppSharp::Parser::SourceLocation::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
28
28
{
29
- return gcnew ::CppSharp::Parser::SourceLocation ((::CppSharp::CppParser::SourceLocation*) native.ToPointer (), __ownsNativeInstance);
29
+ return gcnew ::CppSharp::Parser::SourceLocation ((struct ::CppSharp::CppParser::SourceLocation*) native.ToPointer (), __ownsNativeInstance);
30
30
}
31
31
32
32
CppSharp::Parser::SourceLocation::SourceLocation (unsigned int ID)
33
33
{
34
- ::CppSharp::CppParser::SourceLocation _native (ID);
34
+ struct ::CppSharp::CppParser::SourceLocation _native (ID);
35
35
this ->ID = _native.ID ;
36
36
}
37
37
38
38
CppSharp::Parser::SourceLocation::operator CppSharp::Parser::SourceLocation (unsigned int ID)
39
39
{
40
40
auto __ret = (::CppSharp::CppParser::SourceLocation) ID;
41
- return ::CppSharp::Parser::SourceLocation ((::CppSharp::CppParser::SourceLocation*)&__ret);
41
+ return ::CppSharp::Parser::SourceLocation ((struct ::CppSharp::CppParser::SourceLocation*)&__ret);
42
42
}
43
43
44
44
unsigned int CppSharp::Parser::SourceLocation::ID::get ()
@@ -51,26 +51,26 @@ void CppSharp::Parser::SourceLocation::ID::set(unsigned int value)
51
51
__ID = value;
52
52
}
53
53
54
- CppSharp::Parser::SourceRange::SourceRange (::CppSharp::CppParser::SourceRange* native)
54
+ CppSharp::Parser::SourceRange::SourceRange (struct ::CppSharp::CppParser::SourceRange* native)
55
55
: __ownsNativeInstance(false )
56
56
{
57
57
NativePtr = native;
58
58
}
59
59
60
60
CppSharp::Parser::SourceRange^ CppSharp::Parser::SourceRange::__CreateInstance(::System::IntPtr native)
61
61
{
62
- return gcnew ::CppSharp::Parser::SourceRange ((::CppSharp::CppParser::SourceRange*) native.ToPointer ());
62
+ return gcnew ::CppSharp::Parser::SourceRange ((struct ::CppSharp::CppParser::SourceRange*) native.ToPointer ());
63
63
}
64
64
65
- CppSharp::Parser::SourceRange::SourceRange (::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance)
65
+ CppSharp::Parser::SourceRange::SourceRange (struct ::CppSharp::CppParser::SourceRange* native, bool ownNativeInstance)
66
66
: __ownsNativeInstance(ownNativeInstance)
67
67
{
68
68
NativePtr = native;
69
69
}
70
70
71
71
CppSharp::Parser::SourceRange^ CppSharp::Parser::SourceRange::__CreateInstance(::System::IntPtr native, bool __ownsNativeInstance)
72
72
{
73
- return gcnew ::CppSharp::Parser::SourceRange ((::CppSharp::CppParser::SourceRange*) native.ToPointer (), __ownsNativeInstance);
73
+ return gcnew ::CppSharp::Parser::SourceRange ((struct ::CppSharp::CppParser::SourceRange*) native.ToPointer (), __ownsNativeInstance);
74
74
}
75
75
76
76
CppSharp::Parser::SourceRange::~SourceRange ()
@@ -83,47 +83,47 @@ CppSharp::Parser::SourceRange::SourceRange(CppSharp::Parser::SourceRange^ _0)
83
83
__ownsNativeInstance = true ;
84
84
if (ReferenceEquals (_0, nullptr ))
85
85
throw gcnew ::System::ArgumentNullException (" _0" , " Cannot be null because it is a C++ reference (&)." );
86
- auto &__arg0 = *(::CppSharp::CppParser::SourceRange*)_0->NativePtr ;
87
- NativePtr = new ::CppSharp::CppParser::SourceRange (__arg0);
86
+ auto &__arg0 = *(struct ::CppSharp::CppParser::SourceRange*)_0->NativePtr ;
87
+ NativePtr = new struct ::CppSharp::CppParser::SourceRange(__arg0);
88
88
}
89
89
90
90
CppSharp::Parser::SourceRange::SourceRange ()
91
91
{
92
92
__ownsNativeInstance = true ;
93
- NativePtr = new ::CppSharp::CppParser::SourceRange ();
93
+ NativePtr = new struct ::CppSharp::CppParser::SourceRange();
94
94
}
95
95
96
- System::IntPtr CppSharp::Parser::SourceRange::__Instance::get ()
96
+ :: System::IntPtr CppSharp::Parser::SourceRange::__Instance::get ()
97
97
{
98
- return System::IntPtr (NativePtr);
98
+ return :: System::IntPtr (NativePtr);
99
99
}
100
100
101
- void CppSharp::Parser::SourceRange::__Instance::set (System::IntPtr object)
101
+ void CppSharp::Parser::SourceRange::__Instance::set (:: System::IntPtr object)
102
102
{
103
- NativePtr = (::CppSharp::CppParser::SourceRange*)object.ToPointer ();
103
+ NativePtr = (struct ::CppSharp::CppParser::SourceRange*)object.ToPointer ();
104
104
}
105
105
106
106
CppSharp::Parser::SourceLocation CppSharp::Parser::SourceRange::BeginLoc::get ()
107
107
{
108
- return ::CppSharp::Parser::SourceLocation ((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::SourceRange*) NativePtr) ->beginLoc );
108
+ return ::CppSharp::Parser::SourceLocation ((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->beginLoc );
109
109
}
110
110
111
111
void CppSharp::Parser::SourceRange::BeginLoc::set (CppSharp::Parser::SourceLocation value)
112
112
{
113
113
auto _marshal0 = ::CppSharp::CppParser::SourceLocation ();
114
114
_marshal0.ID = value.ID ;
115
- ((::CppSharp::CppParser::SourceRange*)NativePtr)->beginLoc = _marshal0;
115
+ ((struct ::CppSharp::CppParser::SourceRange*)NativePtr)->beginLoc = _marshal0;
116
116
}
117
117
118
118
CppSharp::Parser::SourceLocation CppSharp::Parser::SourceRange::EndLoc::get ()
119
119
{
120
- return ::CppSharp::Parser::SourceLocation ((::CppSharp::CppParser::SourceLocation*)&((::CppSharp::CppParser::SourceRange*) NativePtr) ->endLoc );
120
+ return ::CppSharp::Parser::SourceLocation ((struct ::CppSharp::CppParser::SourceLocation*)&NativePtr->endLoc );
121
121
}
122
122
123
123
void CppSharp::Parser::SourceRange::EndLoc::set (CppSharp::Parser::SourceLocation value)
124
124
{
125
125
auto _marshal0 = ::CppSharp::CppParser::SourceLocation ();
126
126
_marshal0.ID = value.ID ;
127
- ((::CppSharp::CppParser::SourceRange*)NativePtr)->endLoc = _marshal0;
127
+ ((struct ::CppSharp::CppParser::SourceRange*)NativePtr)->endLoc = _marshal0;
128
128
}
129
129
0 commit comments