fix double hyphen in c# generator

This commit is contained in:
wing328
2016-07-13 18:16:52 +08:00
parent 6e561e116b
commit e2d74de6ca
17 changed files with 153 additions and 151 deletions

View File

@@ -669,7 +669,7 @@ public abstract class AbstractCSharpCodegen extends DefaultCodegen implements Co
@Override
public String escapeUnsafeCharacters(String input) {
return input.replace("*/", "*_/").replace("/*", "/_*");
return input.replace("*/", "*_/").replace("/*", "/_*").replace("--", "- -");
}
}