diff --git a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs index 072e279f..3d15fdac 100644 --- a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs +++ b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs @@ -84,7 +84,7 @@ namespace CppSharp.Generators.CSharp if (tag.Declaration == null) return string.Empty; - return VisitDeclaration(tag.Declaration, quals); + return tag.Declaration.Visit(this); } public CSharpTypePrinterResult VisitArrayType(ArrayType array,