@ -3229,7 +3229,8 @@ namespace CppSharp
@@ -3229,7 +3229,8 @@ namespace CppSharp
PackExpansion = 1 4 ,
Builtin = 1 5 ,
UnaryTransform = 1 6 ,
Vector = 1 7
UnresolvedUsing = 1 7 ,
Vector = 1 8
}
public enum CallingConvention
@ -5916,6 +5917,104 @@ namespace CppSharp
@@ -5916,6 +5917,104 @@ namespace CppSharp
}
}
public unsafe partial class UnresolvedUsingType : global :: CppSharp . Parser . AST . Type , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 12)]
public new partial struct __Internal
{
[FieldOffset(0)]
internal global :: CppSharp . Parser . AST . TypeKind kind ;
[FieldOffset(4)]
internal byte isDependent ;
[FieldOffset(8)]
internal global :: System . IntPtr declaration ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0UnresolvedUsingType@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor ( global :: System . IntPtr _ _ instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0UnresolvedUsingType@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor ( global :: System . IntPtr _ _ instance , global :: System . IntPtr _ 0 ) ;
}
internal static new global :: CppSharp . Parser . AST . UnresolvedUsingType _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new global :: CppSharp . Parser . AST . UnresolvedUsingType ( native . ToPointer ( ) , skipVTables ) ;
}
internal static global :: CppSharp . Parser . AST . UnresolvedUsingType _ _ CreateInstance ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal native , bool skipVTables = false )
{
return new global :: CppSharp . Parser . AST . UnresolvedUsingType ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal native )
{
var ret = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal ) ) ;
global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal . cctor ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
private UnresolvedUsingType ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected UnresolvedUsingType ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public UnresolvedUsingType ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal ) ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
_ _ Internal . ctor ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public UnresolvedUsingType ( global :: CppSharp . Parser . AST . UnresolvedUsingType _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal ) ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var _ _ arg0 = _ 0. _ _ Instance ;
_ _ Internal . cctor ( ( _ _ Instance + _ _ PointerAdjustment ) , _ _ arg0 ) ;
}
public global :: CppSharp . Parser . AST . UnresolvedUsingTypename Declaration
{
get
{
global :: CppSharp . Parser . AST . UnresolvedUsingTypename _ _ result0 ;
if ( ( ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal * ) _ _ Instance ) - > declaration = = IntPtr . Zero ) _ _ result0 = null ;
else if ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . NativeToManagedMap . ContainsKey ( ( ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal * ) _ _ Instance ) - > declaration ) )
_ _ result0 = ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename ) global :: CppSharp . Parser . AST . UnresolvedUsingTypename . NativeToManagedMap [ ( ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal * ) _ _ Instance ) - > declaration ] ;
else _ _ result0 = global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ CreateInstance ( ( ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal * ) _ _ Instance ) - > declaration ) ;
return _ _ result0 ;
}
set
{
( ( global :: CppSharp . Parser . AST . UnresolvedUsingType . _ _ Internal * ) _ _ Instance ) - > declaration = ReferenceEquals ( value , null ) ? global :: System . IntPtr . Zero : value . _ _ Instance ;
}
}
}
public unsafe partial class VectorType : global :: CppSharp . Parser . AST . Type , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 20)]
@ -6160,7 +6259,8 @@ namespace CppSharp
@@ -6160,7 +6259,8 @@ namespace CppSharp
NonTypeTemplateParm = 2 6 ,
VarTemplate = 2 7 ,
VarTemplateSpecialization = 2 8 ,
VarTemplatePartialSpecialization = 2 9
VarTemplatePartialSpecialization = 2 9 ,
UnresolvedUsingTypename = 3 0
}
public enum AccessSpecifier
@ -16302,6 +16402,155 @@ namespace CppSharp
@@ -16302,6 +16402,155 @@ namespace CppSharp
}
}
public unsafe partial class UnresolvedUsingTypename : global :: CppSharp . Parser . AST . Declaration , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 144)]
public new partial struct __Internal
{
[FieldOffset(0)]
internal global :: CppSharp . Parser . AST . DeclarationKind kind ;
[FieldOffset(4)]
internal int maxFieldAlignment ;
[FieldOffset(8)]
internal global :: CppSharp . Parser . AST . AccessSpecifier access ;
[FieldOffset(12)]
internal global :: System . IntPtr _ namespace ;
[FieldOffset(16)]
internal global :: CppSharp . Parser . SourceLocation . _ _ Internal location ;
[FieldOffset(20)]
internal int lineNumberStart ;
[FieldOffset(24)]
internal int lineNumberEnd ;
[FieldOffset(28)]
internal global :: Std . BasicString . _ _ Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C name ;
[FieldOffset(52)]
internal global :: Std . BasicString . _ _ Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C USR ;
[FieldOffset(76)]
internal global :: Std . BasicString . _ _ Internalc__N_std_S_basic_string__C___N_std_S_char_traits__C___N_std_S_allocator__C debugText ;
[FieldOffset(100)]
internal byte isIncomplete ;
[FieldOffset(101)]
internal byte isDependent ;
[FieldOffset(102)]
internal byte isImplicit ;
[FieldOffset(103)]
internal byte isInvalid ;
[FieldOffset(104)]
internal global :: System . IntPtr completeDeclaration ;
[FieldOffset(108)]
internal uint definitionOrder ;
[FieldOffset(112)]
internal global :: Std . Vector . _ _ Internalc__N_std_S_vector_____N_CppSharp_N_CppParser_N_AST_S_PreprocessedEntity___N_std_S_allocator__S0_ PreprocessedEntities ;
[FieldOffset(124)]
internal global :: Std . Vector . _ _ Internalc__N_std_S_vector_____N_CppSharp_N_CppParser_N_AST_S_Declaration___N_std_S_allocator__S0_ Redeclarations ;
[FieldOffset(136)]
internal global :: System . IntPtr originalPtr ;
[FieldOffset(140)]
internal global :: System . IntPtr comment ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0UnresolvedUsingTypename@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern global :: System . IntPtr ctor ( global :: System . IntPtr _ _ instance ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0UnresolvedUsingTypename@AST@CppParser@CppSharp@@QAE@ABV0123@@Z" ) ]
internal static extern global :: System . IntPtr cctor ( global :: System . IntPtr _ _ instance , global :: System . IntPtr _ 0 ) ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??1UnresolvedUsingTypename@AST@CppParser@CppSharp@@QAE@XZ" ) ]
internal static extern void dtor ( global :: System . IntPtr _ _ instance , int delete ) ;
}
internal static new global :: CppSharp . Parser . AST . UnresolvedUsingTypename _ _ CreateInstance ( global :: System . IntPtr native , bool skipVTables = false )
{
return new global :: CppSharp . Parser . AST . UnresolvedUsingTypename ( native . ToPointer ( ) , skipVTables ) ;
}
internal static global :: CppSharp . Parser . AST . UnresolvedUsingTypename _ _ CreateInstance ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal native , bool skipVTables = false )
{
return new global :: CppSharp . Parser . AST . UnresolvedUsingTypename ( native , skipVTables ) ;
}
private static void * _ _ CopyValue ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal native )
{
var ret = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal ) ) ;
global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal . cctor ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
private UnresolvedUsingTypename ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal native , bool skipVTables = false )
: this ( _ _ CopyValue ( native ) , skipVTables )
{
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
}
protected UnresolvedUsingTypename ( void * native , bool skipVTables = false )
: base ( ( void * ) null )
{
_ _ PointerAdjustment = 0 ;
if ( native = = null )
return ;
_ _ Instance = new global :: System . IntPtr ( native ) ;
}
public UnresolvedUsingTypename ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal ) ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
_ _ Internal . ctor ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
}
public UnresolvedUsingTypename ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( sizeof ( global :: CppSharp . Parser . AST . UnresolvedUsingTypename . _ _ Internal ) ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
throw new global :: System . ArgumentNullException ( "_0" , "Cannot be null because it is a C++ reference (&)." ) ;
var _ _ arg0 = _ 0. _ _ Instance ;
_ _ Internal . cctor ( ( _ _ Instance + _ _ PointerAdjustment ) , _ _ arg0 ) ;
}
public override void Dispose ( bool disposing )
{
if ( _ _ Instance = = IntPtr . Zero )
return ;
global :: CppSharp . Parser . AST . Declaration _ _d ummy ;
NativeToManagedMap . TryRemove ( _ _ Instance , out _ _d ummy ) ;
if ( disposing )
_ _ Internal . dtor ( ( _ _ Instance + _ _ PointerAdjustment ) , 0 ) ;
if ( _ _ ownsNativeInstance )
Marshal . FreeHGlobal ( _ _ Instance ) ;
_ _ Instance = IntPtr . Zero ;
}
}
public unsafe partial class Namespace : global :: CppSharp . Parser . AST . DeclarationContext , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 268)]