@ -2285,7 +2285,7 @@ namespace CppSharp
@@ -2285,7 +2285,7 @@ namespace CppSharp
public unsafe partial class TemplateParameterSubstitutionType : global :: CppSharp . Parser . AST . Type , IDisposable
{
[StructLayout(LayoutKind.Explicit, Size = 16 )]
[StructLayout(LayoutKind.Explicit, Size = 20 )]
public new partial struct __Internal
{
[FieldOffset(0)]
@ -2297,6 +2297,9 @@ namespace CppSharp
@@ -2297,6 +2297,9 @@ namespace CppSharp
[FieldOffset(8)]
public global :: CppSharp . Parser . AST . QualifiedType . _ _ Internal Replacement ;
[FieldOffset(16)]
public global :: System . IntPtr ReplacedParameter ;
[SuppressUnmanagedCodeSecurity]
[ DllImport ( "CppSharp.CppParser.dll" , CallingConvention = global :: System . Runtime . InteropServices . CallingConvention . ThisCall ,
EntryPoint = "??0TemplateParameterSubstitutionType@AST@CppParser@CppSharp@@QAE@XZ" ) ]
@ -2320,7 +2323,7 @@ namespace CppSharp
@@ -2320,7 +2323,7 @@ namespace CppSharp
private static void * _ _ CopyValue ( TemplateParameterSubstitutionType . _ _ Internal native )
{
var ret = Marshal . AllocHGlobal ( 1 6 ) ;
var ret = Marshal . AllocHGlobal ( 2 0 ) ;
global :: CppSharp . Parser . AST . TemplateParameterSubstitutionType . _ _ Internal . cctor_2 ( ret , new global :: System . IntPtr ( & native ) ) ;
return ret . ToPointer ( ) ;
}
@ -2344,7 +2347,7 @@ namespace CppSharp
@@ -2344,7 +2347,7 @@ namespace CppSharp
public TemplateParameterSubstitutionType ( )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 1 6 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
_ _ Internal . ctor_0 ( ( _ _ Instance + _ _ PointerAdjustment ) ) ;
@ -2353,7 +2356,7 @@ namespace CppSharp
@@ -2353,7 +2356,7 @@ namespace CppSharp
public TemplateParameterSubstitutionType ( global :: CppSharp . Parser . AST . TemplateParameterSubstitutionType _ 0 )
: this ( ( void * ) null )
{
_ _ Instance = Marshal . AllocHGlobal ( 1 6 ) ;
_ _ Instance = Marshal . AllocHGlobal ( 2 0 ) ;
_ _ ownsNativeInstance = true ;
NativeToManagedMap [ _ _ Instance ] = this ;
if ( ReferenceEquals ( _ 0 , null ) )
@ -2374,6 +2377,24 @@ namespace CppSharp
@@ -2374,6 +2377,24 @@ namespace CppSharp
( ( _ _ Internal * ) _ _ Instance ) - > Replacement = ReferenceEquals ( value , null ) ? new global :: CppSharp . Parser . AST . QualifiedType . _ _ Internal ( ) : * ( global :: CppSharp . Parser . AST . QualifiedType . _ _ Internal * ) value . _ _ Instance ;
}
}
public global :: CppSharp . Parser . AST . TemplateParameterType ReplacedParameter
{
get
{
global :: CppSharp . Parser . AST . TemplateParameterType _ _ result0 ;
if ( ( ( _ _ Internal * ) _ _ Instance ) - > ReplacedParameter = = IntPtr . Zero ) _ _ result0 = null ;
else if ( global :: CppSharp . Parser . AST . TemplateParameterType . NativeToManagedMap . ContainsKey ( ( ( _ _ Internal * ) _ _ Instance ) - > ReplacedParameter ) )
_ _ result0 = ( global :: CppSharp . Parser . AST . TemplateParameterType ) global :: CppSharp . Parser . AST . TemplateParameterType . NativeToManagedMap [ ( ( _ _ Internal * ) _ _ Instance ) - > ReplacedParameter ] ;
else _ _ result0 = global :: CppSharp . Parser . AST . TemplateParameterType . _ _ CreateInstance ( ( ( _ _ Internal * ) _ _ Instance ) - > ReplacedParameter ) ;
return _ _ result0 ;
}
set
{
( ( _ _ Internal * ) _ _ Instance ) - > ReplacedParameter = ReferenceEquals ( value , null ) ? global :: System . IntPtr . Zero : value . _ _ Instance ;
}
}
}
public unsafe partial class InjectedClassNameType : global :: CppSharp . Parser . AST . Type , IDisposable