From 9e55816bfc9cac10edfc9b9b48c99109f5ce1990 Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 9 May 2013 00:32:26 +0100 Subject: [PATCH] Template type printing fixes. --- src/Generator/Generators/CSharp/CSharpTypePrinter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs index 0996a41b..b84b7d57 100644 --- a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs +++ b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs @@ -238,6 +238,7 @@ namespace CppSharp.Generators.CSharp public CSharpTypePrinterResult VisitTemplateParameterType( TemplateParameterType param, TypeQualifiers quals) { + return param.Parameter.Name; } public CSharpTypePrinterResult VisitTemplateParameterSubstitutionType(TemplateParameterSubstitutionType param, @@ -248,6 +249,7 @@ namespace CppSharp.Generators.CSharp public CSharpTypePrinterResult VisitInjectedClassNameType(InjectedClassNameType injected, TypeQualifiers quals) { + return injected.Class.Name; } public CSharpTypePrinterResult VisitDependentNameType(DependentNameType dependent, TypeQualifiers quals)