@ -704,16 +704,6 @@ namespace Std
@@ -704,16 +704,6 @@ namespace Std
[ DllImport ( "Std-symbols" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . Cdecl ,
EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev" ) ]
internal static extern void dtorc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( global :: System . IntPtr _ _ instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "Std-symbols" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . Cdecl ,
EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc" ) ]
internal static extern global :: System . IntPtr Assignc__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( global :: System . IntPtr _ _ instance , [ MarshalAs ( UnmanagedType . LPUTF8Str ) ] string _ _ s ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "Std-symbols" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . Cdecl ,
EntryPoint = "_ZNKSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE4dataEv" ) ]
internal static extern global :: System . IntPtr Datac__N_std_N___1_S_basic_string__C___N_std_N___1_S_char_traits__C___N_std_N___1_S_allocator__C ( global :: System . IntPtr _ _ instance ) ;
}
namespace Rep
@ -961,7 +951,7 @@ namespace Std
@@ -961,7 +951,7 @@ namespace Std
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "Std-symbols" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . Cdecl ,
EntryPoint = "_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc" ) ]
internal static extern global :: System . IntPtr Assign ( global :: System . IntPtr _ _ instance , [ MarshalAs ( UnmanagedType . LPStr ) ] string _ _ s ) ;
internal static extern global :: System . IntPtr Assign ( global :: System . IntPtr _ _ instance , [ MarshalAs ( UnmanagedType . LPUTF8 Str ) ] string _ _ s ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "Std-symbols" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . Cdecl ,
@ -985,7 +975,12 @@ namespace Std
@@ -985,7 +975,12 @@ namespace Std
{
var _ _ arg0 = ReferenceEquals ( @this , null ) ? global :: System . IntPtr . Zero : @this . _ _ Instance ;
var _ _ ret = _ _ Internal . Data ( _ _ arg0 ) ;
return Marshal . PtrToStringAnsi ( _ _ ret ) ;
if ( _ _ ret = = global :: System . IntPtr . Zero )
return default ( string ) ;
var _ _ retPtr = ( byte * ) _ _ ret ;
int _ _l ength = 0 ;
while ( * ( _ _ retPtr + + ) ! = 0 ) _ _l ength + = sizeof ( byte ) ;
return global :: System . Text . Encoding . UTF8 . GetString ( ( byte * ) _ _ ret , _ _l ength ) ;
}
}
}