@@ -97,14 +97,14 @@ public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair______N
97
97
}
98
98
99
99
[ StructLayout ( LayoutKind . Explicit , Size = 4 ) ]
100
- public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_
100
+ public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_
101
101
{
102
102
[ FieldOffset ( 0 ) ]
103
103
internal global ::Std . TreeEndNode . __Internal_Ptr __value_ ;
104
104
}
105
105
106
106
[ StructLayout ( LayoutKind . Explicit , Size = 4 ) ]
107
- public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1
107
+ public unsafe partial struct __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1
108
108
{
109
109
[ FieldOffset ( 0 ) ]
110
110
internal uint __value_ ;
@@ -344,7 +344,6 @@ public unsafe partial class Allocator<_Tp> : IDisposable
344
344
{
345
345
public global ::System . IntPtr __Instance { get ; protected set ; }
346
346
347
- protected int __PointerAdjustment ;
348
347
internal static readonly global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . Allocator < _Tp > > NativeToManagedMap = new global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . Allocator < _Tp > > ( ) ;
349
348
protected internal void * [ ] __OriginalVTables ;
350
349
@@ -389,7 +388,7 @@ public Allocator()
389
388
__Instance = Marshal . AllocHGlobal ( sizeof ( global ::Std . Allocator . __Internal ) ) ;
390
389
__ownsNativeInstance = true ;
391
390
NativeToManagedMap [ __Instance ] = this ;
392
- global ::Std . Allocator . __Internal . ctorc__N_std_N___1_S_allocator__C ( ( __Instance + __PointerAdjustment ) ) ;
391
+ global ::Std . Allocator . __Internal . ctorc__N_std_N___1_S_allocator__C ( __Instance ) ;
393
392
return ;
394
393
}
395
394
throw new ArgumentOutOfRangeException ( "_Tp" , string . Join ( ", " , new [ ] { typeof ( _Tp ) . FullName } ) , "global::Std.Allocator<_Tp> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: <sbyte>." ) ;
@@ -931,16 +930,16 @@ namespace Std
931
930
namespace Tree
932
931
{
933
932
[ StructLayout ( LayoutKind . Explicit , Size = 12 ) ]
934
- public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_
933
+ public unsafe partial struct __Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_
935
934
{
936
935
[ FieldOffset ( 0 ) ]
937
936
internal global ::System . IntPtr __begin_node_ ;
938
937
939
938
[ FieldOffset ( 4 ) ]
940
- internal global ::Std . CompressedPair . __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_ ;
939
+ internal global ::Std . CompressedPair . __Internalc__N_std_N___1_S___compressed_pair____N_std_N___1_S___tree_end_node_____N_std_N___1_S___tree_node_base___v___N_std_N___1_S_allocator____N_std_N___1_S___tree_node____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration_S3_ __pair1_ ;
941
940
942
941
[ FieldOffset ( 8 ) ]
943
- internal global ::Std . CompressedPair . __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_S___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_ ;
942
+ internal global ::Std . CompressedPair . __Internalc__N_std_N___1_S___compressed_pair__l___N_std_N___1_S___map_value_compare____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C___N_std_N___1_U___value_type__S1_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S1__Vb1 __pair3_ ;
944
943
}
945
944
}
946
945
@@ -963,7 +962,7 @@ namespace Map
963
962
public unsafe partial struct __Internalc__N_std_N___1_S_map____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S_less__S0____N_std_N___1_S_allocator____N_std_N___1_S_pair__1S0__S3_
964
963
{
965
964
[ FieldOffset ( 0 ) ]
966
- internal global ::Std . Tree . __Internalc__N_std_N___1_S___tree____N_std_N___1_S___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_ ;
965
+ internal global ::Std . Tree . __Internalc__N_std_N___1_S___tree____N_std_N___1_U___value_type____N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_N___1_S___map_value_compare__S1__S0____N_std_N___1_S_less__S1__Vb1___N_std_N___1_S_allocator__S0_ __tree_ ;
967
966
}
968
967
}
969
968
}
@@ -982,7 +981,6 @@ public unsafe partial class CharTraits<_CharT> : IDisposable
982
981
{
983
982
public global ::System . IntPtr __Instance { get ; protected set ; }
984
983
985
- protected int __PointerAdjustment ;
986
984
internal static readonly global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . CharTraits < _CharT > > NativeToManagedMap = new global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . CharTraits < _CharT > > ( ) ;
987
985
protected internal void * [ ] __OriginalVTables ;
988
986
@@ -1147,7 +1145,6 @@ public unsafe partial class BasicString<_CharT, _Traits, _Allocator> : IDisposab
1147
1145
{
1148
1146
public global ::System . IntPtr __Instance { get ; protected set ; }
1149
1147
1150
- protected int __PointerAdjustment ;
1151
1148
internal static readonly global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . BasicString < _CharT , _Traits , _Allocator > > NativeToManagedMap = new global ::System . Collections . Concurrent . ConcurrentDictionary < IntPtr , global ::Std . BasicString < _CharT , _Traits , _Allocator > > ( ) ;
1152
1149
protected internal void * [ ] __OriginalVTables ;
1153
1150
@@ -1194,7 +1191,7 @@ public BasicString()
1194
1191
__Instance = Marshal . AllocHGlobal ( sizeof ( global ::Std . BasicString . __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ) ) ;
1195
1192
__ownsNativeInstance = true ;
1196
1193
NativeToManagedMap [ __Instance ] = this ;
1197
- global ::Std . BasicString . __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C . ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( ( __Instance + __PointerAdjustment ) ) ;
1194
+ global ::Std . BasicString . __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C . ctorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( __Instance ) ;
1198
1195
return ;
1199
1196
}
1200
1197
throw new ArgumentOutOfRangeException ( "_CharT, _Traits, _Allocator" , string . Join ( ", " , new [ ] { typeof ( _CharT ) . FullName , typeof ( _Traits ) . FullName , typeof ( _Allocator ) . FullName } ) , "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: <sbyte, global::Std.CharTraits<sbyte>, global::Std.Allocator<sbyte>>." ) ;
@@ -1218,7 +1215,7 @@ public virtual void Dispose(bool disposing)
1218
1215
var ___Allocator = typeof ( _Allocator ) ;
1219
1216
if ( ___CharT . IsAssignableFrom ( typeof ( sbyte ) ) && ___Traits . IsAssignableFrom ( typeof ( global ::Std . CharTraits < sbyte > ) ) && ___Allocator . IsAssignableFrom ( typeof ( global ::Std . Allocator < sbyte > ) ) )
1220
1217
{
1221
- global ::Std . BasicString . __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C . dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( ( __Instance + __PointerAdjustment ) ) ;
1218
+ global ::Std . BasicString . __Internalc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C . dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( __Instance ) ;
1222
1219
return ;
1223
1220
}
1224
1221
throw new ArgumentOutOfRangeException ( "_CharT, _Traits, _Allocator" , string . Join ( ", " , new [ ] { typeof ( _CharT ) . FullName , typeof ( _Traits ) . FullName , typeof ( _Allocator ) . FullName } ) , "global::Std.BasicString<_CharT, _Traits, _Allocator> maps a C++ template class and therefore it only supports a limited set of types and their subclasses: <sbyte, global::Std.CharTraits<sbyte>, global::Std.Allocator<sbyte>>." ) ;
0 commit comments