Browse Source

Put the comma in the right place.

pull/1/head
triton 13 years ago
parent
commit
7c6a9bbcf5
  1. 2
      src/Generator/Generators/CLI/CLITypePrinter.cs
  2. 2
      src/Generator/Generators/CSharp/CSharpTypePrinter.cs

2
src/Generator/Generators/CLI/CLITypePrinter.cs

@ -60,7 +60,7 @@ namespace Cxxi.Generators.CLI @@ -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)

2
src/Generator/Generators/CSharp/CSharpTypePrinter.cs

@ -219,7 +219,7 @@ namespace Cxxi.Generators.CSharp @@ -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)

Loading…
Cancel
Save