From 705844046f6e41470f1562c6859e88d99454d576 Mon Sep 17 00:00:00 2001 From: triton Date: Wed, 22 May 2013 16:30:56 +0100 Subject: [PATCH] Visit the declaration by using its visit method and not the generic VisitDeclaration. --- src/Generator/Generators/CSharp/CSharpTypePrinter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,