diff --git a/src/Generator/Generators/CLI/CLIMarshal.cs b/src/Generator/Generators/CLI/CLIMarshal.cs index 1ddebc2e..ad493c23 100644 --- a/src/Generator/Generators/CLI/CLIMarshal.cs +++ b/src/Generator/Generators/CLI/CLIMarshal.cs @@ -194,19 +194,6 @@ namespace CppSharp.Generators.CLI throw new NotImplementedException(); } - public override bool VisitDeclaration(Declaration decl) - { - TypeMap typeMap; - if (Context.Driver.TypeDatabase.FindTypeMap(decl, out typeMap)) - { - typeMap.Declaration = decl; - typeMap.CLIMarshalToManaged(Context); - return false; - } - - return true; - } - public override bool VisitClassDecl(Class @class) { if (@class.CompleteDeclaration != null) @@ -536,19 +523,6 @@ namespace CppSharp.Generators.CLI throw new NotImplementedException(); } - public override bool VisitDeclaration(Declaration decl) - { - TypeMap typeMap; - if (Context.Driver.TypeDatabase.FindTypeMap(decl, out typeMap)) - { - typeMap.Declaration = decl; - typeMap.CLIMarshalToNative(Context); - return false; - } - - return true; - } - public override bool VisitClassDecl(Class @class) { if (@class.CompleteDeclaration != null)