From 7c6a9bbcf5d05515bf7a498e90af2937051537d2 Mon Sep 17 00:00:00 2001 From: triton Date: Sat, 9 Mar 2013 02:06:22 +0000 Subject: [PATCH] Put the comma in the right place. --- src/Generator/Generators/CLI/CLITypePrinter.cs | 2 +- src/Generator/Generators/CSharp/CSharpTypePrinter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Generator/Generators/CLI/CLITypePrinter.cs b/src/Generator/Generators/CLI/CLITypePrinter.cs index 92d8d342..a655b2c5 100644 --- a/src/Generator/Generators/CLI/CLITypePrinter.cs +++ b/src/Generator/Generators/CLI/CLITypePrinter.cs @@ -60,7 +60,7 @@ namespace Cxxi.Generators.CLI foreach (var param in @params) args.Add(VisitParameter(param, hasNames)); - return string.Join(" ,", args); + return string.Join(", ", args); } public string VisitParameter(Parameter param, bool hasName = true) diff --git a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs index bee811ef..5834da9e 100644 --- a/src/Generator/Generators/CSharp/CSharpTypePrinter.cs +++ b/src/Generator/Generators/CSharp/CSharpTypePrinter.cs @@ -219,7 +219,7 @@ namespace Cxxi.Generators.CSharp foreach (var param in @params) args.Add(VisitParameter(param, hasNames)); - return string.Join(" ,", args); + return string.Join(", ", args); } public string VisitParameter(Parameter arg, bool hasName)